summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Layout/LayoutImage.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibWeb/Layout/LayoutImage.h')
-rw-r--r--Libraries/LibWeb/Layout/LayoutImage.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Libraries/LibWeb/Layout/LayoutImage.h b/Libraries/LibWeb/Layout/LayoutImage.h
index a972d51167..f7d59dac72 100644
--- a/Libraries/LibWeb/Layout/LayoutImage.h
+++ b/Libraries/LibWeb/Layout/LayoutImage.h
@@ -45,6 +45,8 @@ public:
bool renders_as_alt_text() const;
+ void set_visible_in_viewport(Badge<LayoutDocument>, bool);
+
private:
virtual const char* class_name() const override { return "LayoutImage"; }
virtual bool is_image() const override { return true; }