Group sheet event methods with other macOS methods

This commit is contained in:
Kevin Sawicki 2017-04-20 10:31:25 -07:00
parent 75184046f6
commit 29a3e11893
5 changed files with 24 additions and 37 deletions

View file

@ -67,6 +67,8 @@ class NativeWindowObserver {
virtual void OnWindowScrollTouchEnd() {}
virtual void OnWindowScrollTouchEdge() {}
virtual void OnWindowSwipe(const std::string& direction) {}
virtual void OnWindowSheetBegin() {}
virtual void OnWindowSheetEnd() {}
virtual void OnWindowEnterFullScreen() {}
virtual void OnWindowLeaveFullScreen() {}
virtual void OnWindowEnterHtmlFullScreen() {}
@ -79,11 +81,6 @@ class NativeWindowObserver {
virtual void OnWindowMessage(UINT message, WPARAM w_param, LPARAM l_param) {}
#endif
#if defined(OS_MACOSX)
virtual void OnWindowSheetBegin() {}
virtual void OnWindowSheetEnd() {}
#endif
// Called when renderer is hung.
virtual void OnRendererUnresponsive() {}