move MozBrowserEvent to script_traits (+ documentation)

This commit is contained in:
apopiak 2016-01-11 23:20:10 +01:00
parent 0e6bca8e8e
commit 4b773cefe9
10 changed files with 74 additions and 77 deletions

View file

@ -26,12 +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::{ConstellationChan, MozBrowserEvent};
use msg::constellation_msg::{ConstellationChan};
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 script_traits::{IFrameLoadInfo, MozBrowserEvent, ScriptMsg as ConstellationMsg};
use std::ascii::AsciiExt;
use std::cell::Cell;
use string_cache::Atom;