Add events to manage sheets of macOS BrowserWindow
This commit is contained in:
parent
3af50b92ca
commit
75184046f6
8 changed files with 101 additions and 0 deletions
|
@ -93,6 +93,11 @@ class Window : public mate::TrackableObject<Window>,
|
|||
void OnWindowMessage(UINT message, WPARAM w_param, LPARAM l_param) override;
|
||||
#endif
|
||||
|
||||
#if defined(OS_MACOSX)
|
||||
void OnWindowSheetBegin() override;
|
||||
void OnWindowSheetEnd() override;
|
||||
#endif
|
||||
|
||||
private:
|
||||
void Init(v8::Isolate* isolate,
|
||||
v8::Local<v8::Object> wrapper,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue