diff options
author | Fernando Martins <martins.fernandomiguel@gmail.com> | 2016-01-11 17:23:55 +0000 |
---|---|---|
committer | Fernando Martins <martins.fernandomiguel@gmail.com> | 2016-01-11 18:24:08 +0000 |
commit | 0ef003c20a4aef29ea5862fac60a37fe83548bb7 (patch) | |
tree | 5ff300ee669a3cc800f9065f796fa467f88d1833 /components/script/dom/htmliframeelement.rs | |
parent | 99d01422931cee3ee0b51d7546796de6d09fb7a0 (diff) | |
download | servo-0ef003c20a4aef29ea5862fac60a37fe83548bb7.tar.gz servo-0ef003c20a4aef29ea5862fac60a37fe83548bb7.zip |
moved IFrameLoadInfo and IFrameSandboxState to script_traits
Diffstat (limited to 'components/script/dom/htmliframeelement.rs')
-rw-r--r-- | components/script/dom/htmliframeelement.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/components/script/dom/htmliframeelement.rs b/components/script/dom/htmliframeelement.rs index 12a432f4c91..4d496903629 100644 --- a/components/script/dom/htmliframeelement.rs +++ b/components/script/dom/htmliframeelement.rs @@ -26,10 +26,11 @@ use dom::virtualmethods::VirtualMethods; use dom::window::Window; use js::jsapi::{JSAutoCompartment, JSAutoRequest, RootedValue, JSContext, MutableHandleValue}; use js::jsval::{UndefinedValue, NullValue}; -use msg::constellation_msg::IFrameSandboxState::{IFrameSandboxed, IFrameUnsandboxed}; -use msg::constellation_msg::{ConstellationChan, IframeLoadInfo, MozBrowserEvent}; +use msg::constellation_msg::{ConstellationChan, MozBrowserEvent}; use msg::constellation_msg::{NavigationDirection, PipelineId, SubpageId}; use page::IterablePage; +use script_traits::IFrameLoadInfo; +use script_traits::IFrameSandboxState::{IFrameSandboxed, IFrameUnsandboxed}; use script_traits::ScriptMsg as ConstellationMsg; use std::ascii::AsciiExt; use std::cell::Cell; @@ -105,7 +106,7 @@ impl HTMLIFrameElement { self.containing_page_pipeline_id.set(Some(window.pipeline())); let ConstellationChan(ref chan) = window.constellation_chan(); - let load_info = IframeLoadInfo { + let load_info = IFrameLoadInfo { url: url, containing_pipeline_id: window.pipeline(), new_subpage_id: new_subpage_id, |