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

Side by Side Diff: webkit/glue/webdevtoolsagent_delegate.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, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/glue/webdevtoolsagent.h ('k') | webkit/glue/webdevtoolsagent_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_GLUE_WEBDEVTOOLSAGENT_DELEGATE_H_ 5 #ifndef WEBKIT_GLUE_WEBDEVTOOLSAGENT_DELEGATE_H_
6 #define WEBKIT_GLUE_WEBDEVTOOLSAGENT_DELEGATE_H_ 6 #define WEBKIT_GLUE_WEBDEVTOOLSAGENT_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 10
11 class WebDevToolsAgentDelegate { 11 class WebDevToolsAgentDelegate {
12 public: 12 public:
13 WebDevToolsAgentDelegate() {} 13 WebDevToolsAgentDelegate() {}
14 virtual ~WebDevToolsAgentDelegate() {} 14 virtual ~WebDevToolsAgentDelegate() {}
15 15
16 virtual void SendMessageToClient(const std::string& raw_msg) = 0; 16 virtual void SendMessageToClient(const std::string& class_name,
17 const std::string& method_name,
18 const std::string& raw_msg) = 0;
17 19
18 // Invalidates widget which leads to the repaint. 20 // Invalidates widget which leads to the repaint.
19 virtual void ForceRepaint() = 0; 21 virtual void ForceRepaint() = 0;
20 22
21 // Returns the id of the entity hosting this agent. 23 // Returns the id of the entity hosting this agent.
22 virtual int GetHostId() = 0; 24 virtual int GetHostId() = 0;
23 25
24 private: 26 private:
25 DISALLOW_COPY_AND_ASSIGN(WebDevToolsAgentDelegate); 27 DISALLOW_COPY_AND_ASSIGN(WebDevToolsAgentDelegate);
26 }; 28 };
27 29
28 #endif // WEBKIT_GLUE_WEBDEVTOOLSAGENT_DELEGATE_H_ 30 #endif // WEBKIT_GLUE_WEBDEVTOOLSAGENT_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/glue/webdevtoolsagent.h ('k') | webkit/glue/webdevtoolsagent_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698