1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 16:57:46 +00:00

Browser: Add more tab options

Add more tab options to Browser: "Duplicate Tab" and "Close Other Tabs".
This commit is contained in:
TheFightingCatfish 2021-08-07 00:21:14 +08:00 committed by Andreas Kling
parent 8a0d465fbc
commit 9899addb1d
3 changed files with 15 additions and 0 deletions

View file

@ -58,6 +58,7 @@ public:
Function<void(const String&)> on_title_change;
Function<void(const URL&)> on_tab_open_request;
Function<void(Tab&)> on_tab_close_request;
Function<void(Tab&)> on_tab_close_other_request;
Function<void(const Gfx::Bitmap&)> on_favicon_change;
Function<String(const URL&, Web::Cookie::Source source)> on_get_cookie;
Function<void(const URL&, const Web::Cookie::ParsedCookie& cookie, Web::Cookie::Source source)> on_set_cookie;