Add Browser class to controll when the application should quit.
This commit is contained in:
parent
8cf1050730
commit
d151d494bd
12 changed files with 138 additions and 7 deletions
|
@ -38,6 +38,9 @@ class WindowList {
|
|||
static void AddWindow(NativeWindow* window);
|
||||
static void RemoveWindow(NativeWindow* window);
|
||||
|
||||
// Called by window when a close is cancelled by beforeunload handler.
|
||||
static void WindowCloseCancelled(NativeWindow* window);
|
||||
|
||||
// Adds and removes |observer| from the observer list.
|
||||
static void AddObserver(WindowListObserver* observer);
|
||||
static void RemoveObserver(WindowListObserver* observer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue