mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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
|
@ -76,8 +76,8 @@ pub enum ConstellationMsg {
|
|||
ExitFullScreen(TopLevelBrowsingContextId),
|
||||
/// Media session action.
|
||||
MediaSessionAction(MediaSessionActionType),
|
||||
/// The visibility of the webview has changed.
|
||||
WebViewVisibilityChanged(TopLevelBrowsingContextId, bool),
|
||||
/// Set whether to use less resources, by stopping animations and running timers at a heavily limited rate.
|
||||
SetWebViewThrottled(TopLevelBrowsingContextId, bool),
|
||||
/// Virtual keyboard was dismissed
|
||||
IMEDismissed,
|
||||
/// Compositing done, but external code needs to present.
|
||||
|
@ -115,7 +115,7 @@ impl fmt::Debug for ConstellationMsg {
|
|||
DisableProfiler => "DisableProfiler",
|
||||
ExitFullScreen(..) => "ExitFullScreen",
|
||||
MediaSessionAction(..) => "MediaSessionAction",
|
||||
WebViewVisibilityChanged(..) => "WebViewVisibilityChanged",
|
||||
SetWebViewThrottled(..) => "SetWebViewThrottled",
|
||||
IMEDismissed => "IMEDismissed",
|
||||
ClearCache => "ClearCache",
|
||||
ReadyToPresent(..) => "ReadyToPresent",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue