Add webContents.id property

This commit is contained in:
Cheng Zhao 2016-05-17 21:56:47 +09:00
parent 8a061b7183
commit 998ce73ad9
3 changed files with 10 additions and 0 deletions

View file

@ -154,6 +154,7 @@ class WebContents : public mate::TrackableObject<WebContents>,
v8::Local<v8::Value> GetOwnerBrowserWindow();
// Properties.
int32_t ID() const;
v8::Local<v8::Value> Session(v8::Isolate* isolate);
content::WebContents* HostWebContents();
v8::Local<v8::Value> DevToolsWebContents(v8::Isolate* isolate);