[webkit-changes] [WebKit/WebKit] 259c58: Further adoption of the new CoreIPC serialization ...

Gavin noreply at github.com
Wed Nov 9 07:40:34 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 259c58ed79ec59a15a4e2bf5b8f5bbb5b7bfa447
      https://github.com/WebKit/WebKit/commit/259c58ed79ec59a15a4e2bf5b8f5bbb5b7bfa447
  Author: Gavin Phillips <gavin.p at apple.com>
  Date:   2022-11-09 (Wed, 09 Nov 2022)

  Changed paths:
    M Source/WebCore/Sources.txt
    M Source/WebCore/editing/Editor.cpp
    M Source/WebCore/history/BackForwardCache.cpp
    R Source/WebCore/history/BackForwardItemIdentifier.cpp
    M Source/WebCore/history/BackForwardItemIdentifier.h
    M Source/WebCore/history/HistoryItem.cpp
    M Source/WebCore/html/HTMLInputElement.cpp
    M Source/WebCore/page/DiagnosticLoggingDomain.h
    M Source/WebCore/page/WindowFeatures.h
    M Source/WebCore/platform/FileChooser.h
    M Source/WebCore/platform/graphics/DestinationColorSpace.h
    M Source/WebCore/platform/graphics/PlatformColorSpace.h
    M Source/WebCore/platform/text/TextChecking.h
    M Source/WebKit/CMakeLists.txt
    M Source/WebKit/DerivedSources-input.xcfilelist
    M Source/WebKit/DerivedSources.make
    M Source/WebKit/Scripts/webkit/messages.py
    M Source/WebKit/Scripts/webkit/tests/MessageArgumentDescriptions.cpp
    A Source/WebKit/Shared/Model.serialization.in
    M Source/WebKit/Shared/ModelIdentifier.h
    M Source/WebKit/Shared/WebBackForwardListItem.cpp
    M Source/WebKit/Shared/WebCoreArgumentCoders.cpp
    M Source/WebKit/Shared/WebCoreArgumentCoders.h
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
    M Source/WebKit/UIProcess/API/C/WKOpenPanelParametersRef.cpp
    M Source/WebKit/UIProcess/ProvisionalPageProxy.h
    M Source/WebKit/UIProcess/WebBackForwardCache.cpp
    M Source/WebKit/UIProcess/WebBackForwardCacheEntry.cpp
    M Source/WebKit/UIProcess/WebBackForwardList.cpp
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Source/WebKit/UIProcess/WebPageProxy.h
    M Source/WebKit/UIProcess/WebPageProxy.messages.in
    M Source/WebKit/UIProcess/ios/forms/WKFileUploadPanel.mm
    M Source/WebKit/WebKit.xcodeproj/project.pbxproj
    M Source/WebKit/WebProcess/WebPage/WebBackForwardListProxy.cpp
    M Source/WebKit/WebProcess/WebPage/WebBackForwardListProxy.h
    M Source/WebKit/WebProcess/WebPage/WebPage.cpp
    M Source/WebKit/WebProcess/WebPage/WebPage.h
    M Source/WebKit/WebProcess/WebPage/WebPage.messages.in
    M Source/WebKit/WebProcess/WebProcess.h
    M Source/WebKit/WebProcess/WebProcess.messages.in
    M Source/WebKitLegacy/ios/WebCoreSupport/WebChromeClientIOS.mm

  Log Message:
  -----------
  Further adoption of the new CoreIPC serialization mechanism
https://bugs.webkit.org/show_bug.cgi?id=247422
rdar://101921684

Further porting of WebCoreArgumentCoders over to the new serialization
form. This change includes:
        - DiagnosticLoggingDomain
        - BackForwardItemIdentifier
        - PlatformColorSpace
        - DestinationColorSpace
        - WindowFeatures
        - CompositionUnderlineColor
        - CompositionUnderline
        - MediaCaptureType
        - FileChooserSettings
        - GrammarDetail
        - TextCheckingType
        - TextCheckingResult
        - TextCheckingProcessType
        - TextCheckingRequestData

Reviewed by Alex Christensen.

* Source/WebCore/editing/Editor.cpp:
(WebCore::Editor::replaceSelectionWithFragment):
(WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
* Source/WebCore/history/BackForwardItemIdentifier.h:
(WebCore::operator!=):
(): Deleted.
(WebCore::BackForwardItemIdentifier::encode const): Deleted.
(WebCore::BackForwardItemIdentifier::decode): Deleted.
* Source/WebCore/html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::mediaCaptureType const):
* Source/WebCore/page/DiagnosticLoggingDomain.h:
* Source/WebCore/platform/FileChooser.h:
* Source/WebCore/platform/graphics/DestinationColorSpace.h:
(WebCore::DestinationColorSpace::encode const): Deleted.
(WebCore::DestinationColorSpace::decode): Deleted.
* Source/WebCore/platform/graphics/PlatformColorSpace.h:
* Source/WebCore/platform/text/TextChecking.h:
* Source/WebKit/CMakeLists.txt:
* Source/WebKit/DerivedSources-input.xcfilelist:
* Source/WebKit/DerivedSources.make:
* Source/WebKit/Scripts/webkit/messages.py:
(serialized_identifiers):
* Source/WebKit/Shared/ModelIdentifier.h:
(WebKit::ModelIdentifier::encode const): Deleted.
(WebKit::ModelIdentifier::decode): Deleted.
* Source/WebKit/Shared/WebCoreArgumentCoders.cpp:
(IPC::ArgumentCoder<WindowFeatures>::encode): Deleted.
(IPC::ArgumentCoder<WindowFeatures>::decode): Deleted.
(IPC::ArgumentCoder<CompositionUnderline>::encode): Deleted.
(IPC::ArgumentCoder<CompositionUnderline>::decode): Deleted.
(IPC::ArgumentCoder<FileChooserSettings>::encode): Deleted.
(IPC::ArgumentCoder<FileChooserSettings>::decode): Deleted.
(IPC::ArgumentCoder<GrammarDetail>::encode): Deleted.
(IPC::ArgumentCoder<GrammarDetail>::decode): Deleted.
(IPC::ArgumentCoder<TextCheckingRequestData>::encode): Deleted.
(IPC::ArgumentCoder<TextCheckingRequestData>::decode): Deleted.
(IPC::ArgumentCoder<TextCheckingResult>::encode): Deleted.
(IPC::ArgumentCoder<TextCheckingResult>::decode): Deleted.
* Source/WebKit/Shared/WebCoreArgumentCoders.h:
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
* Source/WebKit/UIProcess/ios/forms/WKFileUploadPanel.mm:
(cameraDeviceForMediaCaptureType):
(-[WKFileUploadPanel presentWithParameters:resultListener:]):
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:
* Source/WebKitLegacy/ios/WebCoreSupport/WebChromeClientIOS.mm:
(webMediaCaptureType):

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




More information about the webkit-changes mailing list