From 5bf5697f16249954a55be564c944325057f49027 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Thu, 12 Jan 2023 20:42:42 +0000 Subject: LibWebView+Ladybird: Move text selection to ViewImplementation --- Ladybird/WebContentView.cpp | 10 ---------- Ladybird/WebContentView.h | 3 --- 2 files changed, 13 deletions(-) (limited to 'Ladybird') 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, Gfx::IntSize content_size) override; virtual void notify_server_did_paint(Badge, i32 bitmap_id) override; virtual void notify_server_did_invalidate_content_rect(Badge, Gfx::IntRect const&) override; -- cgit v1.2.3