summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLObjectElement.h
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2022-03-24 11:14:19 -0400
committerAndreas Kling <kling@serenityos.org>2022-03-24 16:56:38 +0100
commit23915d0977d453c531cc827986520de120bb43b0 (patch)
tree5c65f6d1c8df4a68c55e2af322e2513f8c592b1c /Userland/Libraries/LibWeb/HTML/HTMLObjectElement.h
parenta002c8156b40a3455932e625d572e53998d69f1d (diff)
downloadserenity-23915d0977d453c531cc827986520de120bb43b0.zip
LibWeb: Implement falling back early to an object's child representation
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLObjectElement.h')
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLObjectElement.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLObjectElement.h b/Userland/Libraries/LibWeb/HTML/HTMLObjectElement.h
index 344f5ad5c7..34cb9c4a3a 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLObjectElement.h
+++ b/Userland/Libraries/LibWeb/HTML/HTMLObjectElement.h
@@ -48,6 +48,8 @@ public:
private:
virtual RefPtr<Layout::Node> create_layout_node(NonnullRefPtr<CSS::StyleProperties>) override;
+ bool has_ancestor_media_element_or_object_element_not_showing_fallback_content() const;
+
void queue_element_task_to_run_object_representation_steps();
void run_object_representation_handler_steps(Optional<String> resource_type);
void run_object_representation_completed_steps(Representation);