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

Unified Diff: webkit/glue/webdevtoolsclient_impl.h

Issue 115862: DevTools: pass class and method name as arguments to RPC messages (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/webdevtoolsclient_delegate.h ('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 17071)
+++ webkit/glue/webdevtoolsclient_impl.h (working copy)
@@ -38,12 +38,17 @@
virtual ~WebDevToolsClientImpl();
// DevToolsRpc::Delegate implementation.
- virtual void SendRpcMessage(const std::string& raw_msg);
+ virtual void SendRpcMessage(const std::string& class_name,
+ const std::string& method_name,
+ const std::string& raw_msg);
// WebDevToolsClient implementation.
- virtual void DispatchMessageFromAgent(const std::string& raw_msg);
+ virtual void DispatchMessageFromAgent(const std::string& class_name,
+ const std::string& method_name,
+ const std::string& raw_msg);
private:
+ void ExecuteScript(const std::string& expr);
static v8::Handle<v8::Value> JsAddSourceToFrame(const v8::Arguments& args);
static v8::Handle<v8::Value> JsLoaded(const v8::Arguments& args);
static v8::Handle<v8::Value> JsActivateWindow(const v8::Arguments& args);
« no previous file with comments | « webkit/glue/webdevtoolsclient_delegate.h ('k') | webkit/glue/webdevtoolsclient_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698