[webkit-changes] [WebKit/WebKit] 8c9520: Generate IPC serialization for iOS-specific enumer...

Žan Doberšek noreply at github.com
Tue Nov 14 23:26:54 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8c9520c1b7e154eac1d5b0b8f52559c1a4047f62
      https://github.com/WebKit/WebKit/commit/8c9520c1b7e154eac1d5b0b8f52559c1a4047f62
  Author: Žan Doberšek <zdobersek at igalia.com>
  Date:   2023-11-14 (Tue, 14 Nov 2023)

  Changed paths:
    M Source/WebKit/DerivedSources-input.xcfilelist
    M Source/WebKit/DerivedSources.make
    M Source/WebKit/Shared/ios/GestureTypes.h
    A Source/WebKit/Shared/ios/GestureTypes.serialization.in
    M Source/WebKit/Shared/ios/TapHandlingResult.h
    M Source/WebKit/UIProcess/WebPageProxy.h
    M Source/WebKit/UIProcess/ios/RevealFocusedElementDeferrer.h
    M Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm
    M Source/WebKit/WebKit.xcodeproj/project.pbxproj
    M Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm

  Log Message:
  -----------
  Generate IPC serialization for iOS-specific enumerations under WebKit
https://bugs.webkit.org/show_bug.cgi?id=264806

Reviewed by Chris Dumez.

Provide IPC serialization specification for enums in the iOS-specific
GestureTypes.h header in the new serialization input file. EnumTraits
specializations can be removed, and the SelectionFlags enumeration has to be
converted into a scoped variant.

EnumTraits specializations for the RevealFocusedElementDeferralReason and
TapHandlingResult enumerations can be removed as they are not used.

* Source/WebKit/DerivedSources-input.xcfilelist:
* Source/WebKit/DerivedSources.make:
* Source/WebKit/Shared/ios/GestureTypes.h:
(): Deleted.
* Source/WebKit/Shared/ios/GestureTypes.serialization.in: Added.
* Source/WebKit/Shared/ios/TapHandlingResult.h:
* Source/WebKit/UIProcess/WebPageProxy.h:
* Source/WebKit/UIProcess/ios/RevealFocusedElementDeferrer.h:
* Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
(toUIWKSelectionFlags):
(toSelectionFlags):
(operator<<):
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:
* Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::selectWithGesture):
(WebKit::WebPage::updateSelectionWithTouches):

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




More information about the webkit-changes mailing list