aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_layout_interface/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script_layout_interface/lib.rs')
-rw-r--r--components/script_layout_interface/lib.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/components/script_layout_interface/lib.rs b/components/script_layout_interface/lib.rs
index da1ab322fa9..bd48b2b7c51 100644
--- a/components/script_layout_interface/lib.rs
+++ b/components/script_layout_interface/lib.rs
@@ -115,6 +115,7 @@ pub enum LayoutElementType {
HTMLIFrameElement,
HTMLImageElement,
HTMLInputElement,
+ HTMLMediaElement,
HTMLObjectElement,
HTMLParagraphElement,
HTMLTableCellElement,
@@ -170,3 +171,7 @@ pub struct PendingImage {
pub node: UntrustedNodeAddress,
pub id: PendingImageId,
}
+
+pub struct HTMLMediaData {
+ pub current_frame: Option<(webrender_api::ImageKey, i32, i32)>,
+}