mirror of
https://github.com/RGBCube/serenity
synced 2025-09-15 19:46:18 +00:00
Browser+LibWeb: Add hooks for getting and setting cookies
This commit is contained in:
parent
f0cdb2bf50
commit
e54837add5
4 changed files with 26 additions and 0 deletions
|
@ -70,6 +70,8 @@ public:
|
|||
Function<void(const URL&)> on_tab_open_request;
|
||||
Function<void(Tab&)> on_tab_close_request;
|
||||
Function<void(const Gfx::Bitmap&)> on_favicon_change;
|
||||
Function<String(const URL& url)> on_get_cookie;
|
||||
Function<void(const URL& url, const String& cookie)> on_set_cookie;
|
||||
|
||||
const String& title() const { return m_title; }
|
||||
const Gfx::Bitmap* icon() const { return m_icon; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue