Expose TopLevelWindow to JavaScript
This commit is contained in:
parent
cfed9fa4b9
commit
71ebd99dfa
6 changed files with 24 additions and 2 deletions
|
@ -29,7 +29,7 @@ namespace api {
|
|||
BrowserWindow::BrowserWindow(v8::Isolate* isolate,
|
||||
v8::Local<v8::Object> wrapper,
|
||||
const mate::Dictionary& options)
|
||||
: TopLevelWindow(isolate, wrapper, options), weak_factory_(this) {
|
||||
: TopLevelWindow(isolate, options), weak_factory_(this) {
|
||||
mate::Handle<class WebContents> web_contents;
|
||||
|
||||
// Use options.webPreferences in WebContents.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue