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

@ -111,8 +111,9 @@ class Browser : public WindowListObserver {
// Tell the application that application is activated with no open windows.
void ActivateWithNoOpenWindows();
// Tell the application that application is activated with open windows.
void ActivateWithOpenWindows();
// Tell the application that application is activated with visible/invisible
// windows.
void Activate(bool hasVisibleWindows);
// Tell the application the loading has been done.
void WillFinishLaunching();