destroy guest webcontents before embedder

This commit is contained in:
deepak1556 2017-03-19 01:10:30 +05:30
parent 16f9754445
commit 72adbf7a2f
3 changed files with 12 additions and 9 deletions

View file

@ -76,6 +76,9 @@ class WebContents : public mate::TrackableObject<WebContents>,
static void BuildPrototype(v8::Isolate* isolate,
v8::Local<v8::FunctionTemplate> prototype);
// Notifies to destroy any guest web contents before destroying self.
void DestroyWebContents();
int64_t GetID() const;
int GetProcessID() const;
Type GetType() const;