diff options
Diffstat (limited to 'Ladybird/BrowserWindow.h')
-rw-r--r-- | Ladybird/BrowserWindow.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Ladybird/BrowserWindow.h b/Ladybird/BrowserWindow.h index dc8f9b80fb..1e6ed62ebf 100644 --- a/Ladybird/BrowserWindow.h +++ b/Ladybird/BrowserWindow.h @@ -9,6 +9,7 @@ #include "Tab.h" #include <LibCore/Forward.h> +#include <LibWeb/HTML/ActivateTab.h> #include <QIcon> #include <QLineEdit> #include <QMainWindow> @@ -31,15 +32,10 @@ public: int tab_index(Tab*); - enum class Activate { - Yes, - No, - }; - public slots: void tab_title_changed(int index, QString const&); void tab_favicon_changed(int index, QIcon icon); - Tab& new_tab(QString const&, Activate); + Tab& new_tab(QString const&, Web::HTML::ActivateTab); void close_tab(int index); void close_current_tab(); void open_next_tab(); |