Add events to manage sheets of macOS BrowserWindow

This commit is contained in:
Yuya Ochiai 2017-04-04 01:44:26 +09:00
parent 3af50b92ca
commit 75184046f6
8 changed files with 101 additions and 0 deletions

View file

@ -245,6 +245,11 @@ class NativeWindow : public base::SupportsUserData,
void NotifyWindowMessage(UINT message, WPARAM w_param, LPARAM l_param);
#endif
#if defined(OS_MACOSX)
void NotifyWindowSheetBegin();
void NotifyWindowSheetEnd();
#endif
void AddObserver(NativeWindowObserver* obs) {
observers_.AddObserver(obs);
}