Implement 'activiate' event instead of 'activate-with-open-windows'.
This commit is contained in:
parent
c006c4efa4
commit
377e7ee3a7
7 changed files with 20 additions and 14 deletions
|
@ -98,8 +98,8 @@ void Browser::ActivateWithNoOpenWindows() {
|
|||
FOR_EACH_OBSERVER(BrowserObserver, observers_, OnActivateWithNoOpenWindows());
|
||||
}
|
||||
|
||||
void Browser::ActivateWithOpenWindows() {
|
||||
FOR_EACH_OBSERVER(BrowserObserver, observers_, OnActivateWithOpenWindows());
|
||||
void Browser::Activate(bool hasVisibleWindows) {
|
||||
FOR_EACH_OBSERVER(BrowserObserver, observers_, OnActivate(hasVisibleWindows));
|
||||
}
|
||||
|
||||
void Browser::WillFinishLaunching() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue