1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:28:12 +00:00

LibWeb: Make context menus work in WebContentView

As usual, this was just a matter of plumbing the PageClient calls from
the WebContent side over to the WebContentView side. :^)
This commit is contained in:
Andreas Kling 2020-07-07 12:24:29 +02:00
parent 81ea9d1ef6
commit 92374fc942
7 changed files with 40 additions and 0 deletions

View file

@ -55,6 +55,8 @@ public:
void notify_server_did_click_link(Badge<WebContentClient>, const URL&, const String& target, unsigned modifiers);
void notify_server_did_middle_click_link(Badge<WebContentClient>, const URL&, const String& target, unsigned modifiers);
void notify_server_did_start_loading(Badge<WebContentClient>, const URL&);
void notify_server_did_request_context_menu(Badge<WebContentClient>, const Gfx::IntPoint&);
void notify_server_did_request_link_context_menu(Badge<WebContentClient>, const Gfx::IntPoint&, const URL&, const String& target, unsigned modifiers);
private:
WebContentView();