PR 44648: Enabling creation on webview with node-integration disabled and raising events

- Enabling creation on webview with node-integration disabled and raising events

Conflicts:
	lib/browser/guest-view-manager.js
This commit is contained in:
Hari Krishna Reddy Juturu 2016-11-16 21:36:05 +00:00
parent b712521056
commit b4a8ed01f1
6 changed files with 51 additions and 23 deletions

View file

@ -406,6 +406,9 @@ void WebContents::InitWithSessionAndOptions(v8::Isolate* isolate,
Init(isolate);
AttachAsUserData(web_contents);
if (IsGuest())
Emit("did-create-webview");
}
WebContents::~WebContents() {