[webkit-changes] [WebKit/WebKit] 9776a6: Update to Vision idiom.

megangardner noreply at github.com
Mon Aug 7 19:21:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9776a6b158e1f7c1f1ddbab70ca50b2c80fbc02b
      https://github.com/WebKit/WebKit/commit/9776a6b158e1f7c1f1ddbab70ca50b2c80fbc02b
  Author: Megan Gardner <megan_gardner at apple.com>
  Date:   2023-08-07 (Mon, 07 Aug 2023)

  Changed paths:
    M Source/WebCore/platform/ios/Device.cpp
    M Source/WebCore/platform/ios/Device.h
    M Source/WebCore/platform/ios/LocalCurrentTraitCollection.mm
    M Source/WebKit/Shared/UserInterfaceIdiom.h
    M Source/WebKit/Shared/UserInterfaceIdiom.mm
    M Source/WebKit/Shared/UserInterfaceIdiom.serialization.in
    M Source/WebKit/Shared/WebPreferencesDefaultValues.cpp
    M Source/WebKit/UIProcess/Cocoa/WKShareSheet.mm
    M Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm

  Log Message:
  -----------
  Update to Vision idiom.
https://bugs.webkit.org/show_bug.cgi?id=259907
rdar://113531570

Reviewed by Wenson Hsieh.

Updated to new idiom now that reality idiom is deprecated.

* Source/WebCore/platform/ios/Device.cpp:
(WebCore::deviceClassIsVision):
(WebCore::deviceClassIsReality): Deleted.
* Source/WebCore/platform/ios/Device.h:
* Source/WebCore/platform/ios/LocalCurrentTraitCollection.mm:
(WebCore::adjustedTraitCollection):
* Source/WebKit/Shared/UserInterfaceIdiom.h:
* Source/WebKit/Shared/UserInterfaceIdiom.mm:
(WebKit::currentUserInterfaceIdiomIsVision):
(WebKit::updateCurrentUserInterfaceIdiom):
(WebKit::currentUserInterfaceIdiomIsReality): Deleted.
* Source/WebKit/Shared/UserInterfaceIdiom.serialization.in:
* Source/WebKit/Shared/WebPreferencesDefaultValues.cpp:
(WebKit::defaultAlternateFormControlDesignEnabled):
(WebKit::defaultVideoFullscreenRequiresElementFullscreen):
* Source/WebKit/UIProcess/Cocoa/WKShareSheet.mm:
(-[WKShareSheet presentWithShareDataArray:inRect:]):
* Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm:
(WebKit::useSpatialFullScreenTransition):

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




More information about the webkit-changes mailing list