mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
Rework “visible” to “throttled” in embedder-to-constellation + jniapi (#31815)
This commit is contained in:
parent
49c6f9e463
commit
0b863de846
7 changed files with 16 additions and 16 deletions
|
@ -1535,8 +1535,8 @@ where
|
|||
FromCompositorMsg::MediaSessionAction(action) => {
|
||||
self.handle_media_session_action_msg(action);
|
||||
},
|
||||
FromCompositorMsg::WebViewVisibilityChanged(webview_id, visible) => {
|
||||
self.notify_webview_visibility(webview_id, visible);
|
||||
FromCompositorMsg::SetWebViewThrottled(webview_id, throttled) => {
|
||||
self.notify_webview_visibility(webview_id, !throttled);
|
||||
},
|
||||
FromCompositorMsg::ReadyToPresent(top_level_browsing_context_id) => {
|
||||
self.embedder_proxy.send((
|
||||
|
|
|
@ -86,7 +86,7 @@ mod from_compositor {
|
|||
Self::DisableProfiler => target!("DisableProfiler"),
|
||||
Self::ExitFullScreen(_) => target!("ExitFullScreen"),
|
||||
Self::MediaSessionAction(_) => target!("MediaSessionAction"),
|
||||
Self::WebViewVisibilityChanged(_, _) => target!("WebViewVisibilityChanged"),
|
||||
Self::SetWebViewThrottled(_, _) => target!("SetWebViewThrottled"),
|
||||
Self::IMEDismissed => target!("IMEDismissed"),
|
||||
Self::ReadyToPresent(_) => target!("ReadyToPresent"),
|
||||
Self::Gamepad(_) => target!("Gamepad"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue