Add NativeWindowObserver::OnCloseButtonClicked
This commit is contained in:
parent
a25b49a127
commit
66fab65a1a
7 changed files with 35 additions and 13 deletions
|
@ -37,6 +37,9 @@ class NativeWindowObserver {
|
|||
// Called before the native window object is going to be destroyed.
|
||||
virtual void WillDestroyNativeObject() {}
|
||||
|
||||
// Called when closed button is clicked.
|
||||
virtual void OnCloseButtonClicked(bool* prevent_default) {}
|
||||
|
||||
// Called when the window is closed.
|
||||
virtual void OnWindowClosed() {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue