aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_traits/script_msg.rs
diff options
context:
space:
mode:
authorPaul Rouget <me@paulrouget.com>2018-02-07 14:31:57 +0100
committerPaul Rouget <me@paulrouget.com>2018-02-13 09:40:06 +0100
commitda349ee8a951c76b62ddc3ee77a46ad63ad9bcaf (patch)
treefd81b9b9d4a1af20d1db59a2d04022059a09aab3 /components/script_traits/script_msg.rs
parente7c754fb64bf200cf64f7c7c4104f8489d117965 (diff)
downloadservo-da349ee8a951c76b62ddc3ee77a46ad63ad9bcaf.tar.gz
servo-da349ee8a951c76b62ddc3ee77a46ad63ad9bcaf.zip
remove mozbrowser code
Diffstat (limited to 'components/script_traits/script_msg.rs')
-rw-r--r--components/script_traits/script_msg.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/components/script_traits/script_msg.rs b/components/script_traits/script_msg.rs
index 6ff47b5e004..524a87d039a 100644
--- a/components/script_traits/script_msg.rs
+++ b/components/script_traits/script_msg.rs
@@ -9,7 +9,6 @@ use IFrameLoadInfo;
use IFrameLoadInfoWithData;
use LayoutControlMsg;
use LoadData;
-use MozBrowserEvent;
use WorkerGlobalScopeInit;
use WorkerScriptLoadOrigin;
use canvas_traits::canvas::CanvasMsg;
@@ -17,7 +16,7 @@ use devtools_traits::{ScriptToDevtoolsControlMsg, WorkerId};
use euclid::{Point2D, Size2D, TypedSize2D};
use gfx_traits::Epoch;
use ipc_channel::ipc::{IpcReceiver, IpcSender};
-use msg::constellation_msg::{BrowsingContextId, FrameType, PipelineId, TraversalDirection};
+use msg::constellation_msg::{BrowsingContextId, PipelineId, TraversalDirection};
use msg::constellation_msg::{Key, KeyModifiers, KeyState};
use net_traits::CoreResourceMsg;
use net_traits::request::RequestInit;
@@ -89,7 +88,7 @@ pub enum ScriptMsg {
/// Get the browsing context id for a given pipeline.
GetBrowsingContextId(PipelineId, IpcSender<Option<BrowsingContextId>>),
/// Get the parent info for a given pipeline.
- GetParentInfo(PipelineId, IpcSender<Option<(PipelineId, FrameType)>>),
+ GetParentInfo(PipelineId, IpcSender<Option<PipelineId>>),
/// <head> tag finished parsing
HeadParsed,
/// All pending loads are complete, and the `load` event for this pipeline
@@ -102,8 +101,6 @@ pub enum ScriptMsg {
AbortLoadUrl,
/// Post a message to the currently active window of a given browsing context.
PostMessage(BrowsingContextId, Option<ImmutableOrigin>, Vec<u8>),
- /// Dispatch a mozbrowser event to the parent of a mozbrowser iframe.
- MozBrowserEvent(PipelineId, MozBrowserEvent),
/// HTMLIFrameElement Forward or Back traversal.
TraverseHistory(TraversalDirection),
/// Gets the length of the joint session history from the constellation.