diff options
author | Linus Groh <mail@linusgroh.de> | 2023-01-12 20:44:42 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-01-12 23:39:36 +0100 |
commit | f183745f4e14d2c6d6b3da354d8d1e0d782836e1 (patch) | |
tree | 1ae6db7e1c253c99479ab00e562276baf5d15249 /Ladybird | |
parent | 5bf5697f16249954a55be564c944325057f49027 (diff) | |
download | serenity-f183745f4e14d2c6d6b3da354d8d1e0d782836e1.zip |
LibWebView+Ladybird: Move preferred color scheme to ViewImplementation
Diffstat (limited to 'Ladybird')
-rw-r--r-- | Ladybird/WebContentView.cpp | 5 | ||||
-rw-r--r-- | Ladybird/WebContentView.h | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/Ladybird/WebContentView.cpp b/Ladybird/WebContentView.cpp index c30ba3bc4d..1daa0c3c68 100644 --- a/Ladybird/WebContentView.cpp +++ b/Ladybird/WebContentView.cpp @@ -517,11 +517,6 @@ void WebContentView::show_inspector() inspect_dom_tree(); } -void WebContentView::set_preferred_color_scheme(Web::CSS::PreferredColorScheme color_scheme) -{ - client().async_set_preferred_color_scheme(color_scheme); -} - void WebContentView::update_zoom() { client().async_set_device_pixels_per_css_pixel(m_device_pixel_ratio * m_zoom_level); diff --git a/Ladybird/WebContentView.h b/Ladybird/WebContentView.h index ee9c8b73ed..c66864a5c7 100644 --- a/Ladybird/WebContentView.h +++ b/Ladybird/WebContentView.h @@ -95,8 +95,6 @@ public: Gfx::IntPoint to_content(Gfx::IntPoint) const; Gfx::IntPoint to_widget(Gfx::IntPoint) const; - void set_preferred_color_scheme(Web::CSS::PreferredColorScheme); - virtual void notify_server_did_layout(Badge<WebContentClient>, Gfx::IntSize content_size) override; virtual void notify_server_did_paint(Badge<WebContentClient>, i32 bitmap_id) override; virtual void notify_server_did_invalidate_content_rect(Badge<WebContentClient>, Gfx::IntRect const&) override; |