diff options
author | Linus Groh <mail@linusgroh.de> | 2020-04-24 13:06:17 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-24 14:34:11 +0200 |
commit | 896decd4d5c078162bdcbab1f6bf092c62d62fa7 (patch) | |
tree | 420692c307b2c4ea714f0e58cc495dc7d0eda8d0 /Applications/Browser/Tab.h | |
parent | 061205b3b3f5209c1c7a715cf68f61f2e91f161d (diff) | |
download | serenity-896decd4d5c078162bdcbab1f6bf092c62d62fa7.zip |
Browser: Open links with target="_blank" in new tab
Diffstat (limited to 'Applications/Browser/Tab.h')
-rw-r--r-- | Applications/Browser/Tab.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Applications/Browser/Tab.h b/Applications/Browser/Tab.h index 7c74c40560..3d910827e4 100644 --- a/Applications/Browser/Tab.h +++ b/Applications/Browser/Tab.h @@ -44,6 +44,7 @@ public: void did_become_active(); Function<void(String)> on_title_change; + Function<void(URL&)> on_tab_open_request; Function<void(Tab&)> on_tab_close_request; const String& title() const { return m_title; } |