Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c976622eda347ae0d2691521cad71e40d6ae5acf
      
https://github.com/WebKit/WebKit/commit/c976622eda347ae0d2691521cad71e40d6ae5acf
  Author: Tim Horton <thor...@apple.com>
  Date:   2023-06-09 (Fri, 09 Jun 2023)

  Changed paths:
    M Source/WebCore/platform/ios/Device.cpp
    M Source/WebCore/platform/ios/Device.h
    M Source/WebKit/DerivedSources-input.xcfilelist
    M Source/WebKit/DerivedSources.make
    M Source/WebKit/Shared/UserInterfaceIdiom.h
    M Source/WebKit/Shared/UserInterfaceIdiom.mm
    A Source/WebKit/Shared/UserInterfaceIdiom.serialization.in
    M Source/WebKit/Shared/WebPreferencesDefaultValues.cpp
    M Source/WebKit/Shared/WebProcessCreationParameters.h
    M Source/WebKit/Shared/WebProcessCreationParameters.serialization.in
    M Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm
    M Source/WebKit/WebKit.xcodeproj/project.pbxproj
    M Source/WebKit/WebProcess/WebProcess.h
    M Source/WebKit/WebProcess/WebProcess.messages.in
    M Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm

  Log Message:
  -----------
  Upstream `defaultAlternateFormControlDesignEnabled` and 
`defaultVideoFullscreenRequiresElementFullscreen`
https://bugs.webkit.org/show_bug.cgi?id=257908
rdar://110544922

Reviewed by Megan Gardner and Aditya Keerthi.

* Source/WebCore/platform/ios/Device.cpp:
(WebCore::deviceClassIsReality):
* Source/WebCore/platform/ios/Device.h:
* Source/WebKit/Shared/UserInterfaceIdiom.h:
* Source/WebKit/Shared/UserInterfaceIdiom.mm:
(WebKit::currentUserInterfaceIdiomIsSmallScreen):
(WebKit::currentUserInterfaceIdiomIsReality):
(WebKit::currentUserInterfaceIdiom):
(WebKit::setCurrentUserInterfaceIdiom):
(WebKit::updateCurrentUserInterfaceIdiom):
(WebKit::setCurrentUserInterfaceIdiomIsSmallScreen): Deleted.
* Source/WebKit/Shared/WebProcessCreationParameters.h:
* Source/WebKit/Shared/WebProcessCreationParameters.serialization.in:
* Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm:
(WebKit::WebProcessPool::platformInitializeWebProcess):
(WebKit::WebProcessPool::registerNotificationObservers):
* Source/WebKit/WebProcess/WebProcess.h:
* Source/WebKit/WebProcess/WebProcess.messages.in:
* Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:
(WebKit::WebProcess::platformInitializeWebProcess):
(WebKit::WebProcess::userInterfaceIdiomDidChange):
* Source/WebKit/DerivedSources-input.xcfilelist:
* Source/WebKit/DerivedSources.make:
* Source/WebKit/Shared/UserInterfaceIdiom.h:
* Source/WebKit/Shared/UserInterfaceIdiom.serialization.in: Added.
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:
Extend our existing UserInterfaceIdiom mechanism to support the new idiom.

* Source/WebKit/Shared/WebPreferencesDefaultValues.cpp:
(WebKit::defaultAlternateFormControlDesignEnabled):
(WebKit::defaultVideoFullscreenRequiresElementFullscreen):
Adopt it to implement these two preferences.

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to