Emit 'finish-launching' event when the application has finished launching.

This commit is contained in:
Cheng Zhao 2013-05-30 19:12:14 +08:00
parent 7dd48e24d3
commit 4133fc28d9
10 changed files with 28 additions and 10 deletions

View file

@ -30,6 +30,9 @@ class Browser : public WindowListObserver {
// Tell the application to open a file.
bool OpenFile(const std::string& file_path);
// Tell the application the loading has been done.
void DidFinishLaunching();
void AddObserver(BrowserObserver* obs) {
observers_.AddObserver(obs);
}