[webkit-changes] [WebKit/WebKit] 3168f2: Continue porting WebKit/ related types to the new ...

Gavin noreply at github.com
Thu Feb 23 10:20:43 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3168f2acf3cb7416bbe4af15c1285896f2367144
      https://github.com/WebKit/WebKit/commit/3168f2acf3cb7416bbe4af15c1285896f2367144
  Author: Gavin Phillips <gavin.p at apple.com>
  Date:   2023-02-23 (Thu, 23 Feb 2023)

  Changed paths:
    M Source/WebKit/CMakeLists.txt
    M Source/WebKit/DerivedSources-input.xcfilelist
    M Source/WebKit/DerivedSources.make
    M Source/WebKit/NetworkProcess/NetworkProcess.cpp
    M Source/WebKit/NetworkProcess/NetworkProcess.h
    M Source/WebKit/NetworkProcess/NetworkProcess.messages.in
    M Source/WebKit/Shared/Gamepad/GamepadData.cpp
    M Source/WebKit/Shared/Gamepad/GamepadData.h
    A Source/WebKit/Shared/Gamepad/GamepadData.serialization.in
    R Source/WebKit/Shared/NavigationActionData.cpp
    M Source/WebKit/Shared/NavigationActionData.h
    A Source/WebKit/Shared/NavigationActionData.serialization.in
    R Source/WebKit/Shared/PlatformPopupMenuData.cpp
    M Source/WebKit/Shared/PlatformPopupMenuData.h
    A Source/WebKit/Shared/PlatformPopupMenuData.serialization.in
    M Source/WebKit/Shared/TouchBarMenuItemData.cpp
    M Source/WebKit/Shared/TouchBarMenuItemData.h
    A Source/WebKit/Shared/TouchBarMenuItemData.serialization.in
    M Source/WebKit/Shared/WebsiteData/WebsiteData.cpp
    M Source/WebKit/Shared/WebsiteData/WebsiteData.h
    A Source/WebKit/Shared/WebsiteData/WebsiteData.serialization.in
    M Source/WebKit/Shared/WebsiteData/WebsiteDataType.h
    A Source/WebKit/Shared/WebsiteData/WebsiteDataType.serialization.in
    M Source/WebKit/Shared/ios/WebAutocorrectionData.h
    R Source/WebKit/Shared/ios/WebAutocorrectionData.mm
    A Source/WebKit/Shared/ios/WebAutocorrectionData.serialization.in
    M Source/WebKit/Sources.txt
    M Source/WebKit/SourcesCocoa.txt
    M Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStore.mm
    M Source/WebKit/UIProcess/Network/NetworkProcessProxy.cpp
    M Source/WebKit/UIProcess/Network/NetworkProcessProxy.h
    M Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp
    M Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.h
    M Source/WebKit/WebKit.xcodeproj/project.pbxproj

  Log Message:
  -----------
  Continue porting WebKit/ related types to the new IPC serialization format
https://bugs.webkit.org/show_bug.cgi?id=252742
rdar://105776889

Reviewed by Alex Christensen.

This change includes porting across the following types to the new
serialization format:
    - GamepadData
    - WebAutocorrectionData
    - NavigationActionData
    - PlatformPopupMenuData
    - ItemType
    - TouchBarMenuItemData
    - WebsiteData::Entry
    - WebsiteData
    - WebsiteDataType

* Source/WebKit/CMakeLists.txt:
* Source/WebKit/DerivedSources-input.xcfilelist:
* Source/WebKit/DerivedSources.make:
* Source/WebKit/NetworkProcess/NetworkProcess.cpp:
(WebKit::NetworkProcess::hasLocalStorage):
(WebKit::NetworkProcess::registrableDomainsWithWebsiteData):
(WebKit::NetworkProcess::websiteDataOriginDirectoryForTesting):
* Source/WebKit/NetworkProcess/NetworkProcess.h:
* Source/WebKit/NetworkProcess/NetworkProcess.messages.in:
* Source/WebKit/Shared/Gamepad/GamepadData.cpp:
(WebKit::GamepadData::GamepadData):
(WebKit::GamepadData::encode const): Deleted.
(WebKit::GamepadData::decode): Deleted.
* Source/WebKit/Shared/Gamepad/GamepadData.h:
* Source/WebKit/Shared/Gamepad/GamepadData.serialization.in: Added.
* Source/WebKit/Shared/NavigationActionData.cpp: Removed.
* Source/WebKit/Shared/NavigationActionData.h:
* Source/WebKit/Shared/NavigationActionData.serialization.in: Added.
* Source/WebKit/Shared/PlatformPopupMenuData.cpp: Removed.
* Source/WebKit/Shared/PlatformPopupMenuData.h:
* Source/WebKit/Shared/PlatformPopupMenuData.serialization.in: Added.
* Source/WebKit/Shared/TouchBarMenuItemData.cpp:
(WebKit::TouchBarMenuItemData::TouchBarMenuItemData):
(WebKit::TouchBarMenuItemData::encode const): Deleted.
(WebKit::TouchBarMenuItemData::decode): Deleted.
* Source/WebKit/Shared/TouchBarMenuItemData.h:
* Source/WebKit/Shared/TouchBarMenuItemData.serialization.in: Added.
* Source/WebKit/Shared/WebsiteData/WebsiteData.cpp:
(WebKit::WebsiteData::Entry::Entry):
(WebKit::WebsiteData::Entry::isolatedCopy const):
(WebKit::WebsiteData::Entry::isolatedCopy):
(WebKit::WebsiteData::Entry::encode const): Deleted.
(WebKit::WebsiteData::Entry::decode): Deleted.
(WebKit::WebsiteData::encode const): Deleted.
(WebKit::WebsiteData::decode): Deleted.
* Source/WebKit/Shared/WebsiteData/WebsiteData.h:
(WebKit::WebsiteData::Entry::type const):
* Source/WebKit/Shared/WebsiteData/WebsiteData.serialization.in: Added.
* Source/WebKit/Shared/WebsiteData/WebsiteDataType.h:
* Source/WebKit/Shared/WebsiteData/WebsiteDataType.serialization.in: Added.
* Source/WebKit/Shared/ios/WebAutocorrectionData.h:
* Source/WebKit/Shared/ios/WebAutocorrectionData.mm: Removed.
* Source/WebKit/Shared/ios/WebAutocorrectionData.serialization.in: Added.
* Source/WebKit/Sources.txt:
* Source/WebKit/SourcesCocoa.txt:
* Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStore.mm:
(-[WKWebsiteDataStore _originDirectoryForTesting:topOrigin:type:completionHandler:]):
* Source/WebKit/UIProcess/Network/NetworkProcessProxy.cpp:
(WebKit::NetworkProcessProxy::websiteDataOriginDirectoryForTesting):
* Source/WebKit/UIProcess/Network/NetworkProcessProxy.h:
* Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp:
(WebKit::WebsiteDataStore::fetchDataAndApply):
(WebKit::WebsiteDataStore::originDirectoryForTesting):
* Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.h:
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:

Canonical link: https://commits.webkit.org/260751@main




More information about the webkit-changes mailing list