mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Replace (String, Option<String>) with MozBrowserEvent in uses of MozBrowserEventMsg.
This commit is contained in:
parent
644dc40586
commit
cb9cfe2b22
7 changed files with 102 additions and 49 deletions
|
@ -21,7 +21,7 @@ use devtools_traits::DevtoolsControlChan;
|
|||
use libc::c_void;
|
||||
use msg::constellation_msg::{ConstellationChan, PipelineId, Failure, WindowSizeData};
|
||||
use msg::constellation_msg::{LoadData, SubpageId, Key, KeyState, KeyModifiers};
|
||||
use msg::constellation_msg::PipelineExitType;
|
||||
use msg::constellation_msg::{MozBrowserEvent, PipelineExitType};
|
||||
use msg::compositor_msg::ScriptListener;
|
||||
use net::image_cache_task::ImageCacheTask;
|
||||
use net::resource_task::ResourceTask;
|
||||
|
@ -73,7 +73,7 @@ pub enum ConstellationControlMsg {
|
|||
/// Notifies script task that a url should be loaded in this iframe.
|
||||
Navigate(PipelineId, SubpageId, LoadData),
|
||||
/// Requests the script task forward a mozbrowser event to an iframe it owns
|
||||
MozBrowserEvent(PipelineId, SubpageId, String, Option<String>),
|
||||
MozBrowserEventMsg(PipelineId, SubpageId, MozBrowserEvent),
|
||||
/// Updates the current subpage id of a given iframe
|
||||
UpdateSubpageId(PipelineId, SubpageId, SubpageId),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue