mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:57:45 +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
|
@ -48,6 +48,8 @@ public:
|
|||
Function<void(DOM::Document*)> on_set_document;
|
||||
Function<void(const URL&, const String&)> on_get_source;
|
||||
Function<void(const String& method, const String& line)> on_js_console_output;
|
||||
Function<String(const URL& url)> on_get_cookie;
|
||||
Function<void(const URL& url, const String& cookie)> on_set_cookie;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue