mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:17:44 +00:00
Browser+WebContent+WebDriver: Move Delete Cookie to WebContent
This commit is contained in:
parent
d202999853
commit
b7f21bb92e
7 changed files with 43 additions and 18 deletions
|
@ -374,6 +374,11 @@ Tab::Tab(BrowserWindow& window)
|
|||
on_set_cookie(url, cookie, source);
|
||||
};
|
||||
|
||||
view().on_update_cookie = [this](auto& url, auto& cookie) {
|
||||
if (on_update_cookie)
|
||||
on_update_cookie(url, cookie);
|
||||
};
|
||||
|
||||
view().on_get_source = [this](auto& url, auto& source) {
|
||||
view_source(url, source);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue