isolate, v8::Local<v8::ObjectTemplate>::New(isolate, template_));
}
+bool WebContents::IsDestroyed() const {
+ return !IsAlive();
+}
+
void WebContents::OnRendererMessage(const base::string16& channel,
const base::ListValue& args) {
// webContents.emit(channel, new Event(), args...);
// mate::Wrappable:
mate::ObjectTemplateBuilder GetObjectTemplateBuilder(
v8::Isolate* isolate) override;
+ bool IsDestroyed() const override;
// content::WebContentsDelegate:
bool AddMessageToConsole(content::WebContents* source,