mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:57:46 +00:00
WebContent+Everywhere: Add a WebContent IPC to activate a tab
This commit is contained in:
parent
a77daf77bd
commit
f8b6369c23
18 changed files with 50 additions and 0 deletions
|
@ -473,6 +473,10 @@ Tab::Tab(BrowserWindow& window)
|
|||
return tab.view().handle();
|
||||
};
|
||||
|
||||
view().on_activate_tab = [this]() {
|
||||
on_activate_tab_request(*this);
|
||||
};
|
||||
|
||||
view().on_close = [this] {
|
||||
on_tab_close_request(*this);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue