-
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.
[WPE]
TestWebKitWebView
/webkit/WebKitWebView/fullscreen
is a tim…
…eout https://bugs.webkit.org/show_bug.cgi?id=258850 Reviewed by Michael Catanzaro. On WPE `WKWPE::View` creates a web page with its own page client. But when using GLib API we must somehow notify the wrapper `WebKitWebView` about entering and exiting fullscreen mode. The solution is to extend `WKWPE::API::Client` with two new methods: - `enterFullScreen()` - `exitFullScreen()` `WebKitWebViewClient`, which implements `WKWPE::API::Client` and has a reference to `WebKitWebView` wrapper, can react on these events and call appropriate handlers. * Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp: (WebKitWebViewClient::enterFullScreen): (WebKitWebViewClient::exitFullScreen): * Source/WebKit/UIProcess/API/wpe/APIViewClient.h: (API::ViewClient::enterFullScreen): (API::ViewClient::exitFullScreen): * Source/WebKit/UIProcess/API/wpe/PageClientImpl.cpp: (WebKit::PageClientImpl::enterFullScreen): (WebKit::PageClientImpl::exitFullScreen): * Source/WebKit/UIProcess/API/wpe/WPEView.cpp: (WKWPE::View::enterFullScreen): (WKWPE::View::exitFullScreen): * Source/WebKit/UIProcess/API/wpe/WPEView.h: * Source/WebKit/UIProcess/API/wpe/WebKitWebViewClient.h: * Tools/TestWebKitAPI/glib/TestExpectations.json: Canonical link: https://commits.webkit.org/265799@main
- Loading branch information
1 parent
9204150
commit 59f29ab
Showing
6 changed files
with
27 additions
and
5 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
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