diff options
Diffstat (limited to 'views/window/native_window_delegate.h')
-rw-r--r-- | views/window/native_window_delegate.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/views/window/native_window_delegate.h b/views/window/native_window_delegate.h index 229d588..4668de4 100644 --- a/views/window/native_window_delegate.h +++ b/views/window/native_window_delegate.h @@ -18,6 +18,13 @@ namespace internal { class NativeWindowDelegate { public: virtual ~NativeWindowDelegate() {} + + // Called just before the native window is destroyed. This is the delegate's + // last chance to do anything with the native window handle. + virtual void OnWindowDestroying() = 0; + + // Called just after the native window is destroyed. + virtual void OnWindowDestroyed() = 0; }; } // namespace internal |