Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Use the fullscreen preferred size when reporting screen dimensions
https://bugs.webkit.org/show_bug.cgi?id=249297 <rdar://99403187> Reviewed by Megan Gardner. When we have a preferred size for fullscreen windows, use it when reporting the screen dimensions to the page. * Source/WebKit/UIProcess/WebPageProxy.h: Expose `overrideScreenSize`. * Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm: (WebKit::WebPageProxy::overrideScreenSize): Read the fullscreen preferred size and override the screen size with it. * Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm: (-[WKFullScreenWindowController enterFullScreen:]): Use the (modified) page's screen size as target size for the fullscreen window. Canonical link: https://commits.webkit.org/258005@main
- Loading branch information
1 parent
ff73fb7
commit da50bb2bfac4cb2530f12086789caf196b3adcb9
Showing
3 changed files
with
19 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters