Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6097e4af324392c511a96affb39de098eb15182b
https://github.com/WebKit/WebKit/commit/6097e4af324392c511a96affb39de098eb15182b
Author: Wenson Hsieh <[email protected]>
Date: 2025-06-07 (Sat, 07 Jun 2025)
Changed paths:
M Source/WebKit/UIProcess/mac/WebViewImpl.h
M Source/WebKit/UIProcess/mac/WebViewImpl.mm
Log Message:
-----------
[macOS] Add a flag to keep track of when the web view is entering or exiting
window fullscreen
https://bugs.webkit.org/show_bug.cgi?id=294163
rdar://152741612
Reviewed by Abrar Rahman Protyasha.
Add a flag, `m_windowIsEnteringOrExitingFullScreen`, that tracks when the web
view's containing
window is animating to or from window fullscreen. See the paired change for
more details.
* Source/WebKit/UIProcess/mac/WebViewImpl.h:
* Source/WebKit/UIProcess/mac/WebViewImpl.mm:
(-[WKWindowVisibilityObserver startObserving:]):
(-[WKWindowVisibilityObserver stopObserving]):
(-[WKWindowVisibilityObserver _windowDidEnterOrExitFullScreen:]):
(-[WKWindowVisibilityObserver _windowWillEnterOrExitFullScreen:]):
(WebKit::WebViewImpl::windowWillEnterOrExitFullScreen):
(WebKit::WebViewImpl::windowDidEnterOrExitFullScreen):
Make sure we update content inset fill views after finishing the window
fullscreen transition.
(WebKit::WebViewImpl::viewWillMoveToWindowImpl):
If the window containing the web view changes, make sure the flag is reset.
Canonical link: https://commits.webkit.org/295963@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes