aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_traits/lib.rs
diff options
context:
space:
mode:
authorGlenn Watson <gw@intuitionlibrary.com>2015-02-03 12:52:18 +1000
committerGlenn Watson <gw@intuitionlibrary.com>2015-02-05 07:04:04 +1000
commit0873e5c8ca60d977d164ce5f5b85ca70dd76e5d9 (patch)
treea88e73d5e9f98a2338f2de877ec7058aab8a7ba4 /components/script_traits/lib.rs
parent7e3f504d94ffb77ec6148166d2ab73978e1c71c8 (diff)
downloadservo-0873e5c8ca60d977d164ce5f5b85ca70dd76e5d9.tar.gz
servo-0873e5c8ca60d977d164ce5f5b85ca70dd76e5d9.zip
Implement window.parent for iframes.
Diffstat (limited to 'components/script_traits/lib.rs')
-rw-r--r--components/script_traits/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs
index 8864b9caf43..9e6ab9140c0 100644
--- a/components/script_traits/lib.rs
+++ b/components/script_traits/lib.rs
@@ -56,7 +56,7 @@ pub struct NewLayoutInfo {
/// Messages sent from the constellation to the script task
pub enum ConstellationControlMsg {
/// Loads a new URL on the specified pipeline.
- Load(PipelineId, LoadData),
+ Load(PipelineId, Option<PipelineId>, LoadData),
/// Gives a channel and ID to a layout task, as well as the ID of that layout's parent
AttachLayout(NewLayoutInfo),
/// Window resized. Sends a DOM event eventually, but first we combine events.