diff options
Diffstat (limited to 'components/script_traits/script_msg.rs')
-rw-r--r-- | components/script_traits/script_msg.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/components/script_traits/script_msg.rs b/components/script_traits/script_msg.rs index d183336f6f8..c19766263a5 100644 --- a/components/script_traits/script_msg.rs +++ b/components/script_traits/script_msg.rs @@ -17,7 +17,7 @@ use euclid::size::Size2D; use gfx_traits::LayerId; use ipc_channel::ipc::IpcSender; use msg::constellation_msg::{Key, KeyModifiers, KeyState, LoadData}; -use msg::constellation_msg::{PipelineId, SubpageId, TraversalDirection}; +use msg::constellation_msg::{PipelineId, TraversalDirection}; use net_traits::CoreResourceMsg; use offscreen_gl_context::{GLContextAttributes, GLLimits}; use style_traits::cursor::Cursor; @@ -87,7 +87,8 @@ pub enum ScriptMsg { LoadUrl(PipelineId, LoadData), /// Dispatch a mozbrowser event to a given iframe, /// or to the window if no subpage id is provided. - MozBrowserEvent(PipelineId, Option<SubpageId>, MozBrowserEvent), + /// First PipelineId is for the parent, second PipelineId is for the actual pipeline. + MozBrowserEvent(PipelineId, Option<PipelineId>, MozBrowserEvent), /// HTMLIFrameElement Forward or Back traversal. TraverseHistory(Option<PipelineId>, TraversalDirection), /// Gets the length of the joint session history from the constellation. |