-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[visionOS] Autohide system chrome after entering fullscreen
https://bugs.webkit.org/show_bug.cgi?id=259363 rdar://110958152 Reviewed by Wenson Hsieh. Autohide system chrome after entering fullscreen, similar to hiding other fullscreen controls. Refactor `WKFullScreenViewController` to use the delegate pattern to call into `WKFullScreenWindowController`, rather than target-action, as there is an ever-growing list of "actions". * Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenViewController.h: * Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenViewController.mm: (-[WKFullScreenViewController dealloc]): (-[WKFullScreenViewController delegate]): (-[WKFullScreenViewController setDelegate:]): (-[WKFullScreenViewController showUI]): (-[WKFullScreenViewController hideUI]): (-[WKFullScreenViewController _cancelAction:]): (-[WKFullScreenViewController _toggleDimmingAction:]): * Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm: (-[WKFullScreenWindowController enterFullScreen:]): (-[WKFullScreenWindowController toggleDimming]): (-[WKFullScreenWindowController showUI]): (-[WKFullScreenWindowController hideUI]): (-[WKFullScreenWindowController _toggleSceneDimming]): Deleted. Canonical link: https://commits.webkit.org/266191@main
- Loading branch information
Showing
3 changed files
with
42 additions
and
15 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