mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
added subpage ids to map from iframe to all associated pipelines
This commit is contained in:
parent
a2bdab7989
commit
2348fbf46d
6 changed files with 71 additions and 47 deletions
|
@ -18,6 +18,8 @@ use std::str::eq_slice;
|
|||
use extra::net::url::Url;
|
||||
use geom::size::Size2D;
|
||||
|
||||
use servo_msg::constellation_msg::SubpageId;
|
||||
|
||||
pub struct Element {
|
||||
parent: Node<ScriptView>,
|
||||
tag_name: ~str, // TODO: This should be an atom, not a ~str.
|
||||
|
@ -112,6 +114,7 @@ pub struct HTMLHeadingElement {
|
|||
pub struct HTMLIframeElement {
|
||||
parent: Element,
|
||||
frame: Option<Url>,
|
||||
subpage_id: Option<SubpageId>,
|
||||
size_future_chan: Option<ChanOne<Size2D<uint>>>,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue