aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_traits/script_msg.rs
diff options
context:
space:
mode:
authorAlan Jeffrey <ajeffrey@mozilla.com>2016-11-30 16:54:12 -0600
committerAlan Jeffrey <ajeffrey@mozilla.com>2017-01-05 21:12:57 +0000
commit7c2de62124995c8c353756abdb1ec7c08973ae3a (patch)
treef6b54e6a181ee1498f0bf8fc06665f802078c5a0 /components/script_traits/script_msg.rs
parent143dfc879e609603839502d61bc064fba96cc80f (diff)
downloadservo-7c2de62124995c8c353756abdb1ec7c08973ae3a.tar.gz
servo-7c2de62124995c8c353756abdb1ec7c08973ae3a.zip
Implement browsing context discarding.
Diffstat (limited to 'components/script_traits/script_msg.rs')
-rw-r--r--components/script_traits/script_msg.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script_traits/script_msg.rs b/components/script_traits/script_msg.rs
index e268d67bc1d..fc29563cbbd 100644
--- a/components/script_traits/script_msg.rs
+++ b/components/script_traits/script_msg.rs
@@ -102,7 +102,8 @@ pub enum ScriptMsg {
/// Status message to be displayed in the chrome, eg. a link URL on mouseover.
NodeStatus(Option<String>),
/// Notification that this iframe should be removed.
- RemoveIFrame(PipelineId, Option<IpcSender<()>>),
+ /// Returns a list of pipelines which were closed.
+ RemoveIFrame(FrameId, IpcSender<Vec<PipelineId>>),
/// Change pipeline visibility
SetVisible(PipelineId, bool),
/// Notifies constellation that an iframe's visibility has been changed.