libservo: change 'request_fullscreen_state_change' API to a notification (#35445)

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
This commit is contained in:
Mukilan Thiyagarajan 2025-02-13 14:34:41 +05:30 committed by GitHub
parent 3a63622d6b
commit c95bd9d052
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 19 additions and 12 deletions

View file

@ -473,7 +473,7 @@ impl WebViewDelegate for RunningAppState {
self.inner_mut().need_update = true;
}
fn request_fullscreen_state_change(&self, _webview: servo::WebView, fullscreen_state: bool) {
fn notify_fullscreen_state_changed(&self, _webview: servo::WebView, fullscreen_state: bool) {
self.inner().window.set_fullscreen(fullscreen_state);
}