mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Remove constellation round trip for subpage mapping in compositor.
This makes use of the new functionality that allows iframes to generate their own pipeline IDs in order to remove any knowledge of subpage ids from the compositor. (This is the first of several commits removing subpage from parts of servo).
This commit is contained in:
parent
5eb1c04e78
commit
da881947e5
11 changed files with 47 additions and 139 deletions
|
@ -222,6 +222,11 @@ impl HTMLIFrameElement {
|
|||
pub fn subpage_id(&self) -> Option<SubpageId> {
|
||||
self.subpage_id.get()
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn pipeline_id(&self) -> Option<PipelineId> {
|
||||
self.pipeline_id.get()
|
||||
}
|
||||
}
|
||||
|
||||
pub fn Navigate(iframe: &HTMLIFrameElement, direction: NavigationDirection) -> Fallible<()> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue