Merge pull request #9828 from electron/fix-browserview-file-chooser-crash

Fix crash when using file chooser in BrowserView
This commit is contained in:
Kevin Sawicki 2017-06-26 09:54:31 -07:00 committed by GitHub
commit 4c8592b8ef
6 changed files with 36 additions and 6 deletions

View file

@ -186,6 +186,7 @@ class Window : public mate::TrackableObject<Window>,
std::vector<v8::Local<v8::Object>> GetChildWindows() const;
v8::Local<v8::Value> GetBrowserView() const;
void SetBrowserView(v8::Local<v8::Value> value);
void ResetBrowserView();
bool IsModal() const;
v8::Local<v8::Value> GetNativeWindowHandle();