diff options
author | Linus Groh <mail@linusgroh.de> | 2023-01-12 20:42:42 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-01-12 23:39:36 +0100 |
commit | 5bf5697f16249954a55be564c944325057f49027 (patch) | |
tree | ca5c151a14d79e363dc557f2aab88e1e55e0827d /Ladybird | |
parent | 8c11a2c2532dff7d9cb9aabd0a0989b2b8859105 (diff) | |
download | serenity-5bf5697f16249954a55be564c944325057f49027.zip |
LibWebView+Ladybird: Move text selection to ViewImplementation
Diffstat (limited to 'Ladybird')
-rw-r--r-- | Ladybird/WebContentView.cpp | 10 | ||||
-rw-r--r-- | Ladybird/WebContentView.h | 3 |
2 files changed, 0 insertions, 13 deletions
diff --git a/Ladybird/WebContentView.cpp b/Ladybird/WebContentView.cpp index 006bf7e83e..c30ba3bc4d 100644 --- a/Ladybird/WebContentView.cpp +++ b/Ladybird/WebContentView.cpp @@ -1043,13 +1043,3 @@ void WebContentView::notify_server_did_get_accessibility_tree(DeprecatedString c { dbgln("TODO: support accessibility tree in Ladybird"); } - -DeprecatedString WebContentView::selected_text() -{ - return client().get_selected_text(); -} - -void WebContentView::select_all() -{ - client().async_select_all(); -} diff --git a/Ladybird/WebContentView.h b/Ladybird/WebContentView.h index 8a35c7bc57..ee9c8b73ed 100644 --- a/Ladybird/WebContentView.h +++ b/Ladybird/WebContentView.h @@ -97,9 +97,6 @@ public: void set_preferred_color_scheme(Web::CSS::PreferredColorScheme); - DeprecatedString selected_text(); - void select_all(); - 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; |