fix: fallback to FullSizeContentView for frameless window on mac (#13599)

fix: draggable regions not working on macOS
This commit is contained in:
Cheng Zhao 2018-07-10 10:43:42 +09:00 committed by Samuel Attard
parent 28d4f7f25a
commit 0ec4ad288d
5 changed files with 123 additions and 55 deletions

View file

@ -80,6 +80,10 @@ class BrowserWindow : public TopLevelWindow,
v8::Local<v8::Value> GetWebContents(v8::Isolate* isolate);
private:
#if defined(OS_MACOSX)
void OverrideNSWindowContentView();
#endif
// Helpers.
// Called when the window needs to update its draggable region.