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

Side by Side Diff: webkit/glue/webdevtoolsclient_delegate.h

Issue 264077: Convert devtools interfaces over to using WebString.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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/webdevtoolsclient.h ('k') | webkit/glue/webdevtoolsclient_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_WEBDEVTOOLSCLIENT_DELEGATE_H_ 5 #ifndef WEBKIT_GLUE_WEBDEVTOOLSCLIENT_DELEGATE_H_
6 #define WEBKIT_GLUE_WEBDEVTOOLSCLIENT_DELEGATE_H_ 6 #define WEBKIT_GLUE_WEBDEVTOOLSCLIENT_DELEGATE_H_
7 7
8 #include <string>
9 #include "base/basictypes.h" 8 #include "base/basictypes.h"
10 9
10 namespace WebKit {
11 class WebString;
12 }
13
11 class WebDevToolsClientDelegate { 14 class WebDevToolsClientDelegate {
12 public: 15 public:
13 WebDevToolsClientDelegate() {} 16 WebDevToolsClientDelegate() {}
14 virtual ~WebDevToolsClientDelegate() {} 17 virtual ~WebDevToolsClientDelegate() {}
15 18
16 virtual void SendMessageToAgent(const std::string& class_name, 19 virtual void SendMessageToAgent(const WebKit::WebString& class_name,
17 const std::string& method_name, 20 const WebKit::WebString& method_name,
18 const std::string& param1, 21 const WebKit::WebString& param1,
19 const std::string& param2, 22 const WebKit::WebString& param2,
20 const std::string& param3) = 0; 23 const WebKit::WebString& param3) = 0;
21 virtual void SendDebuggerCommandToAgent(const std::string& command) = 0; 24 virtual void SendDebuggerCommandToAgent(const WebKit::WebString& command) = 0;
22 25
23 virtual void ActivateWindow() = 0; 26 virtual void ActivateWindow() = 0;
24 virtual void CloseWindow() = 0; 27 virtual void CloseWindow() = 0;
25 virtual void DockWindow() = 0; 28 virtual void DockWindow() = 0;
26 virtual void UndockWindow() = 0; 29 virtual void UndockWindow() = 0;
27 virtual void ToggleInspectElementMode(bool enabled) = 0; 30 virtual void ToggleInspectElementMode(bool enabled) = 0;
28 31
29 private: 32 private:
30 DISALLOW_COPY_AND_ASSIGN(WebDevToolsClientDelegate); 33 DISALLOW_COPY_AND_ASSIGN(WebDevToolsClientDelegate);
31 }; 34 };
32 35
33 #endif // WEBKIT_GLUE_WEBDEVTOOLSAGENT_DELEGATE_H_ 36 #endif // WEBKIT_GLUE_WEBDEVTOOLSAGENT_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/glue/webdevtoolsclient.h ('k') | webkit/glue/webdevtoolsclient_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698