Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Screen Orientation API] Change natural orientation on iPad and TV to be landscape-primary #10803

Commits on Mar 1, 2023

  1. [Screen Orientation API] Change natural orientation on iPad and TV to…

    … be landscape-primary
    
    https://bugs.webkit.org/show_bug.cgi?id=253082
    
    Reviewed by Darin Adler.
    
    Change natural orientation on iPad and TV to be landscape-primary instead of
    portrait-primary.
    
    * Source/WebCore/page/ScreenOrientation.cpp:
    (WebCore::ScreenOrientation::lock):
    * Source/WebCore/page/ScreenOrientationType.h:
    (WebCore::isPortrait):
    (WebCore::naturalScreenOrientationType):
    (WebCore::isPortait): Deleted.
    * Source/WebCore/platform/ios/Device.h:
    * Source/WebKit/UIProcess/WebScreenOrientationManagerProxy.cpp:
    (WebKit::resolveScreenOrientationLockType):
    
    Canonical link: https://commits.webkit.org/260984@main
    cdumez committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    f022496 View commit details
    Browse the repository at this point in the history