mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
libservo: change 'request_fullscreen_state_change' API to a notification (#35445)
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
This commit is contained in:
parent
3a63622d6b
commit
c95bd9d052
6 changed files with 19 additions and 12 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue