mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:27:35 +00:00
Browser: Add context menu item for copying selected text
This commit is contained in:
parent
2fda6ce159
commit
58cb37f986
3 changed files with 18 additions and 0 deletions
|
@ -30,6 +30,7 @@ public:
|
|||
GUI::Action& go_forward_action() { return *m_go_forward_action; }
|
||||
GUI::Action& go_home_action() { return *m_go_home_action; }
|
||||
GUI::Action& reload_action() { return *m_reload_action; }
|
||||
GUI::Action& copy_selection_action() { return *m_copy_selection_action; }
|
||||
GUI::Action& view_source_action() { return *m_view_source_action; }
|
||||
GUI::Action& inspect_dom_tree_action() { return *m_inspect_dom_tree_action; }
|
||||
|
||||
|
@ -43,6 +44,7 @@ private:
|
|||
RefPtr<GUI::Action> m_go_forward_action;
|
||||
RefPtr<GUI::Action> m_go_home_action;
|
||||
RefPtr<GUI::Action> m_reload_action;
|
||||
RefPtr<GUI::Action> m_copy_selection_action;
|
||||
RefPtr<GUI::Action> m_view_source_action;
|
||||
RefPtr<GUI::Action> m_inspect_dom_tree_action;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue