mirror of
https://github.com/servo/servo.git
synced 2025-06-08 00:23:30 +00:00
Rework “visible” to “throttled” in constellation + script + compositor (#31816)
This commit is contained in:
parent
9b26dca141
commit
8882507ad0
12 changed files with 124 additions and 129 deletions
|
@ -215,8 +215,8 @@ pub enum ScriptMsg {
|
|||
/// Notification that this iframe should be removed.
|
||||
/// Returns a list of pipelines which were closed.
|
||||
RemoveIFrame(BrowsingContextId, IpcSender<Vec<PipelineId>>),
|
||||
/// Notifies constellation that an iframe's visibility has been changed.
|
||||
VisibilityChangeComplete(bool),
|
||||
/// Successful response to [crate::ConstellationControlMsg::SetThrottled].
|
||||
SetThrottledComplete(bool),
|
||||
/// A load has been requested in an IFrame.
|
||||
ScriptLoadedURLInIFrame(IFrameLoadInfoWithData),
|
||||
/// A load of the initial `about:blank` has been completed in an IFrame.
|
||||
|
@ -304,7 +304,7 @@ impl fmt::Debug for ScriptMsg {
|
|||
ReplaceHistoryState(..) => "ReplaceHistoryState",
|
||||
JointSessionHistoryLength(..) => "JointSessionHistoryLength",
|
||||
RemoveIFrame(..) => "RemoveIFrame",
|
||||
VisibilityChangeComplete(..) => "VisibilityChangeComplete",
|
||||
SetThrottledComplete(..) => "SetThrottledComplete",
|
||||
ScriptLoadedURLInIFrame(..) => "ScriptLoadedURLInIFrame",
|
||||
ScriptNewIFrame(..) => "ScriptNewIFrame",
|
||||
ScriptNewAuxiliary(..) => "ScriptNewAuxiliary",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue