Load extensions for all web contents

This commit is contained in:
Kevin Sawicki 2016-06-07 10:52:03 -07:00
parent 4f7bde38a9
commit 219d177731
2 changed files with 5 additions and 2 deletions

View file

@ -1365,6 +1365,8 @@ void Initialize(v8::Local<v8::Object> exports, v8::Local<v8::Value> unused,
dict.SetMethod("_setWrapWebContents", &atom::api::SetWrapWebContents);
dict.SetMethod("fromId",
&mate::TrackableObject<atom::api::WebContents>::FromWeakMapID);
dict.SetMethod("getAllWebContents",
&mate::TrackableObject<atom::api::WebContents>::GetAll);
}
} // namespace