diff options
Diffstat (limited to 'Userland/Applications/Browser/Tab.cpp')
-rw-r--r-- | Userland/Applications/Browser/Tab.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/Applications/Browser/Tab.cpp b/Userland/Applications/Browser/Tab.cpp index 81e0bb388f..9ee6866b29 100644 --- a/Userland/Applications/Browser/Tab.cpp +++ b/Userland/Applications/Browser/Tab.cpp @@ -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); }; |