browser: add webContents.debugger api
This commit is contained in:
parent
2e8a2c3a7f
commit
0e2323c9c8
6 changed files with 311 additions and 1 deletions
|
@ -142,6 +142,7 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
|||
// Properties.
|
||||
v8::Local<v8::Value> Session(v8::Isolate* isolate);
|
||||
v8::Local<v8::Value> DevToolsWebContents(v8::Isolate* isolate);
|
||||
v8::Local<v8::Value> Debugger(v8::Isolate* isolate);
|
||||
|
||||
// mate::TrackableObject:
|
||||
static void BuildPrototype(v8::Isolate* isolate,
|
||||
|
@ -265,6 +266,7 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
|||
|
||||
v8::Global<v8::Value> session_;
|
||||
v8::Global<v8::Value> devtools_web_contents_;
|
||||
v8::Global<v8::Value> debugger_;
|
||||
|
||||
scoped_ptr<WebViewGuestDelegate> guest_delegate_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue