1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-02 21:52:07 +00:00

LibWeb: Remove now-duplicated actions from IPWV regarding text selection

This commit is contained in:
Timothy Flynn 2021-07-14 08:55:54 -04:00 committed by Andreas Kling
parent 615a1c7210
commit 22ab512f39
2 changed files with 0 additions and 15 deletions

View file

@ -7,7 +7,6 @@
#include <AK/URL.h>
#include <LibCore/File.h>
#include <LibCore/MimeData.h>
#include <LibGUI/Action.h>
#include <LibGUI/Application.h>
#include <LibGUI/Clipboard.h>
#include <LibGUI/InputBox.h>
@ -38,14 +37,6 @@ InProcessWebView::InProcessWebView()
set_should_hide_unnecessary_scrollbars(true);
set_background_role(ColorRole::Base);
set_focus_policy(GUI::FocusPolicy::StrongFocus);
m_copy_action = GUI::CommonActions::make_copy_action([this](auto&) {
GUI::Clipboard::the().set_plain_text(selected_text());
});
m_select_all_action = GUI::CommonActions::make_select_all_action([this](auto&) {
select_all();
});
}
InProcessWebView::~InProcessWebView()