mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:57:44 +00:00
WebContent+Everywhere: Add an option to not activate new tabs over IPC
WebDriver, for example, will want to create new tabs without activating them.
This commit is contained in:
parent
78ed798852
commit
e6fc35897f
21 changed files with 81 additions and 62 deletions
|
@ -13,6 +13,7 @@
|
|||
#include <LibConfig/Listener.h>
|
||||
#include <LibGUI/ActionGroup.h>
|
||||
#include <LibGUI/Window.h>
|
||||
#include <LibWeb/HTML/ActivateTab.h>
|
||||
|
||||
namespace Browser {
|
||||
|
||||
|
@ -28,7 +29,7 @@ public:
|
|||
|
||||
GUI::TabWidget& tab_widget();
|
||||
Tab& active_tab();
|
||||
Tab& create_new_tab(URL, bool activate);
|
||||
Tab& create_new_tab(URL, Web::HTML::ActivateTab activate);
|
||||
void create_new_window(URL);
|
||||
|
||||
GUI::Action& go_back_action() { return *m_go_back_action; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue