Implement 'activiate' event instead of 'activate-with-open-windows'.

This commit is contained in:
Haojian Wu 2015-09-14 18:34:27 -07:00
parent c006c4efa4
commit 377e7ee3a7
7 changed files with 20 additions and 14 deletions

View file

@ -47,9 +47,9 @@ class BrowserObserver {
// dock icon).
virtual void OnActivateWithNoOpenWindows() {}
// The browser is activated with open windows (usually by clicking on the dock
// icon).
virtual void OnActivateWithOpenWindows() {}
// The browser is activated with visible/invisible windows (usually by
// clicking on the dock icon).
virtual void OnActivate(bool hasVisibleWindows) {}
// The browser has finished loading.
virtual void OnWillFinishLaunching() {}