🔧 BrowserView.getAllViews()
This commit is contained in:
parent
fded32dc4f
commit
3cb062b3d6
1 changed files with 2 additions and 0 deletions
|
@ -154,6 +154,8 @@ void Initialize(v8::Local<v8::Object> exports,
|
|||
isolate, BrowserView::GetConstructor(isolate)->GetFunction());
|
||||
browser_view.SetMethod("fromId",
|
||||
&mate::TrackableObject<BrowserView>::FromWeakMapID);
|
||||
browser_view.SetMethod("getAllViews",
|
||||
&mate::TrackableObject<BrowserView>::GetAll);
|
||||
mate::Dictionary dict(isolate, exports);
|
||||
dict.Set("BrowserView", browser_view);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue