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

Conversation

cdumez
Copy link
Contributor

@cdumez cdumez commented Feb 28, 2023

f022496

[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

bcf6ea7

Misc iOS, tvOS & watchOS macOS Linux Windows
βœ… πŸ§ͺ style βœ… πŸ›  ios βœ… πŸ›  mac βœ… πŸ›  wpe βœ… πŸ›  wincairo
βœ… πŸ§ͺ bindings βœ… πŸ›  ios-sim βœ… πŸ›  mac-AS-debug βœ… πŸ›  gtk
βœ… πŸ§ͺ webkitperl βœ… πŸ§ͺ ios-wk2 βœ… πŸ§ͺ api-mac βœ… πŸ§ͺ gtk-wk2
βœ… πŸ§ͺ api-ios βœ… πŸ§ͺ mac-wk1 βœ… πŸ§ͺ api-gtk
βœ… πŸ›  tv βœ… πŸ§ͺ mac-wk2
βœ… πŸ›  tv-sim βœ… πŸ§ͺ mac-AS-debug-wk2
βœ… πŸ›  watch βœ… πŸ§ͺ mac-wk2-stress
βœ… πŸ›  watch-sim
βœ… πŸ›  πŸ§ͺ unsafe-merge

@cdumez cdumez self-assigned this Feb 28, 2023
@cdumez cdumez added the WebCore Misc. For miscellaneous bugs in the WebCore framework (and not JavaScriptCore or WebKit). label Feb 28, 2023
@cdumez cdumez added the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Mar 1, 2023
… 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
@webkit-commit-queue
Copy link
Collaborator

Committed 260984@main (f022496): https://commits.webkit.org/260984@main

Reviewed commits have been landed. Closing PR #10803 and removing active labels.

@webkit-early-warning-system webkit-early-warning-system merged commit f022496 into WebKit:main Mar 1, 2023
@webkit-commit-queue webkit-commit-queue removed the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WebCore Misc. For miscellaneous bugs in the WebCore framework (and not JavaScriptCore or WebKit).
Projects
None yet
5 participants