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
|
@ -17,6 +17,9 @@ class WindowListObserver {
|
|||
// Called immediately after a window is removed from the list.
|
||||
virtual void OnWindowRemoved(NativeWindow* window) {}
|
||||
|
||||
// Called when a window close is cancelled by beforeunload handler.
|
||||
virtual void OnWindowCloseCancelled(NativeWindow* window) {}
|
||||
|
||||
// Called immediately after all windows are closed.
|
||||
virtual void OnWindowAllClosed() {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue