Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Unified Diff: webkit/glue/webdevtoolsclient_impl.h

Issue 113836: DevTools: introduce bound object on the agent side. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/webdevtoolsagent_impl.cc ('k') | webkit/glue/webdevtoolsclient_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webdevtoolsclient_impl.h
===================================================================
--- webkit/glue/webdevtoolsclient_impl.h (revision 16977)
+++ webkit/glue/webdevtoolsclient_impl.h (working copy)
@@ -20,6 +20,7 @@
class String;
}
+class BoundObject;
class JsDebuggerAgentBoundObj;
class JsDomAgentBoundObj;
class JsNetAgentBoundObj;
@@ -47,20 +48,15 @@
static v8::Handle<v8::Value> JsLoaded(const v8::Arguments& args);
static v8::Handle<v8::Value> JsActivateWindow(const v8::Arguments& args);
- void InitBoundObject();
- void InitProtoFunction(const char* name, v8::InvocationCallback callback);
-
WebViewImpl* web_view_impl_;
WebDevToolsClientDelegate* delegate_;
OwnPtr<CppBoundClass> debugger_command_executor_obj_;
OwnPtr<JsDebuggerAgentBoundObj> debugger_agent_obj_;
OwnPtr<JsDomAgentBoundObj> dom_agent_obj_;
- OwnPtr<JsNetAgentBoundObj> net_agent_obj_;
OwnPtr<JsToolsAgentBoundObj> tools_agent_obj_;
bool loaded_;
Vector<std::string> pending_incoming_messages_;
- v8::Persistent<v8::FunctionTemplate> host_template_;
- v8::Persistent<v8::External> v8_this_;
+ OwnPtr<BoundObject> dev_tools_host_;
DISALLOW_COPY_AND_ASSIGN(WebDevToolsClientImpl);
};
« no previous file with comments | « webkit/glue/webdevtoolsagent_impl.cc ('k') | webkit/glue/webdevtoolsclient_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698