diff options
author | jmr0 <jrosello720@gmail.com> | 2016-03-09 01:24:46 -0500 |
---|---|---|
committer | jmr0 <jrosello720@gmail.com> | 2016-06-15 23:28:07 -0400 |
commit | 2bff131535987da0330737f78fb23291593db30d (patch) | |
tree | 61ca05aa1da49d0d1a82856c13af460a91f94229 /components/script_traits/script_msg.rs | |
parent | ce88b8ed30feff9c7d3f067041fe5d781e012351 (diff) | |
download | servo-2bff131535987da0330737f78fb23291593db30d.tar.gz servo-2bff131535987da0330737f78fb23291593db30d.zip |
Implement non-visible pipeline and iframe visibility methods
Diffstat (limited to 'components/script_traits/script_msg.rs')
-rw-r--r-- | components/script_traits/script_msg.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/script_traits/script_msg.rs b/components/script_traits/script_msg.rs index 241833bc13f..7fc871eb4cc 100644 --- a/components/script_traits/script_msg.rs +++ b/components/script_traits/script_msg.rs @@ -81,6 +81,10 @@ pub enum ScriptMsg { NodeStatus(Option<String>), /// Notification that this iframe should be removed. RemoveIFrame(PipelineId, Option<IpcSender<()>>), + /// Change pipeline visibility + SetVisible(PipelineId, bool), + /// Notifies constellation that an iframe's visibility has been changed. + VisibilityChangeComplete(PipelineId, bool), /// A load has been requested in an IFrame. ScriptLoadedURLInIFrame(IFrameLoadInfo), /// Requests that the constellation set the contents of the clipboard |