summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/OutOfProcessWebView.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-04-11 16:49:25 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-11 16:49:25 +0200
commit54cd8dfc4db0688fbef9571137a1b45c99226b04 (patch)
tree52276d267c0e9aa7e5f954f7aedff2e6bc46942d /Userland/Libraries/LibWeb/OutOfProcessWebView.h
parente43fba0c58d9c8bb0e4bd7bf6ca915ce71fa5bd4 (diff)
downloadserenity-54cd8dfc4db0688fbef9571137a1b45c99226b04.zip
LibWeb+WebContent: Support image context menus in OOPWV
You can now right-click images in web content and get a context menu.
Diffstat (limited to 'Userland/Libraries/LibWeb/OutOfProcessWebView.h')
-rw-r--r--Userland/Libraries/LibWeb/OutOfProcessWebView.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/OutOfProcessWebView.h b/Userland/Libraries/LibWeb/OutOfProcessWebView.h
index b634bc1077..d9918a8ad7 100644
--- a/Userland/Libraries/LibWeb/OutOfProcessWebView.h
+++ b/Userland/Libraries/LibWeb/OutOfProcessWebView.h
@@ -72,6 +72,7 @@ public:
void notify_server_did_finish_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);
+ void notify_server_did_request_image_context_menu(Badge<WebContentClient>, const Gfx::IntPoint&, const URL&, const String& target, unsigned modifiers, const Gfx::ShareableBitmap&);
void notify_server_did_request_alert(Badge<WebContentClient>, const String& message);
bool notify_server_did_request_confirm(Badge<WebContentClient>, const String& message);
String notify_server_did_request_prompt(Badge<WebContentClient>, const String& message, const String& default_);