mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Allow window elements as well as iframes to the the target of mozbrowser events.
This commit is contained in:
parent
fa432a5a34
commit
72aa4f2f62
8 changed files with 162 additions and 152 deletions
|
@ -84,8 +84,9 @@ pub enum ScriptMsg {
|
|||
LoadComplete(PipelineId),
|
||||
/// A new load has been requested.
|
||||
LoadUrl(PipelineId, LoadData),
|
||||
/// Dispatch a mozbrowser event to a given iframe. Only available in experimental mode.
|
||||
MozBrowserEvent(PipelineId, SubpageId, MozBrowserEvent),
|
||||
/// Dispatch a mozbrowser event to a given iframe,
|
||||
/// or to the window if no subpage id is provided.
|
||||
MozBrowserEvent(PipelineId, Option<SubpageId>, MozBrowserEvent),
|
||||
/// HTMLIFrameElement Forward or Back navigation.
|
||||
Navigate(Option<(PipelineId, SubpageId)>, NavigationDirection),
|
||||
/// Favicon detected
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue