diff options
Diffstat (limited to 'Libraries/LibWeb/PageView.h')
-rw-r--r-- | Libraries/LibWeb/PageView.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibWeb/PageView.h b/Libraries/LibWeb/PageView.h index c44814059f..83af62053e 100644 --- a/Libraries/LibWeb/PageView.h +++ b/Libraries/LibWeb/PageView.h @@ -61,7 +61,7 @@ public: Function<void(const Gfx::IntPoint& screen_position)> on_context_menu_request; Function<void(const URL&, const String& target, unsigned modifiers)> on_link_click; - Function<void(const String& href, const Gfx::IntPoint& screen_position)> on_link_context_menu_request; + Function<void(const URL&, const Gfx::IntPoint& screen_position)> on_link_context_menu_request; Function<void(const URL&)> on_link_middle_click; Function<void(const URL&)> on_link_hover; Function<void(const String&)> on_title_change; @@ -102,7 +102,7 @@ private: virtual void page_did_change_selection() override; virtual void page_did_request_cursor_change(GUI::StandardCursor) override; virtual void page_did_request_context_menu(const Gfx::IntPoint&) override; - virtual void page_did_request_link_context_menu(const Gfx::IntPoint&, const String& href, const String& target, unsigned modifiers) override; + virtual void page_did_request_link_context_menu(const Gfx::IntPoint&, const URL&, const String& target, unsigned modifiers) override; virtual void page_did_click_link(const URL&, const String& target, unsigned modifiers) override; virtual void page_did_middle_click_link(const URL&, const String& target, unsigned modifiers) override; virtual void page_did_enter_tooltip_area(const Gfx::IntPoint&, const String&) override; |