mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Excise SubpageId and use only PipelineIds
SubpageId was originally introduced in 2013 to help iframes keep track of their associated (children) pipelines. However, since each pipeline already has a PipelineId, and those are unique, those are sufficient to keep track of children.
This commit is contained in:
parent
b9b25b6f82
commit
56fbfd46a4
12 changed files with 145 additions and 217 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue