OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_RENDERER_DEVTOOLS_CLIENT_H_ | 5 #ifndef CONTENT_RENDERER_DEVTOOLS_CLIENT_H_ |
6 #define CONTENT_RENDERER_DEVTOOLS_CLIENT_H_ | 6 #define CONTENT_RENDERER_DEVTOOLS_CLIENT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 virtual void activateWindow() OVERRIDE; | 42 virtual void activateWindow() OVERRIDE; |
43 virtual void closeWindow() OVERRIDE; | 43 virtual void closeWindow() OVERRIDE; |
44 virtual void moveWindowBy(const WebKit::WebFloatPoint& offset) OVERRIDE; | 44 virtual void moveWindowBy(const WebKit::WebFloatPoint& offset) OVERRIDE; |
45 virtual void requestDockWindow() OVERRIDE; | 45 virtual void requestDockWindow() OVERRIDE; |
46 virtual void requestUndockWindow() OVERRIDE; | 46 virtual void requestUndockWindow() OVERRIDE; |
47 virtual void saveAs(const WebKit::WebString& file_name, | 47 virtual void saveAs(const WebKit::WebString& file_name, |
48 const WebKit::WebString& content) OVERRIDE; | 48 const WebKit::WebString& content) OVERRIDE; |
49 | 49 |
50 void OnDispatchOnInspectorFrontend(const std::string& message); | 50 void OnDispatchOnInspectorFrontend(const std::string& message); |
51 | 51 |
52 // Sends message to DevToolsAgent. | |
53 void SendToAgent(const IPC::Message& tools_agent_message); | |
54 | |
55 scoped_ptr<WebKit::WebDevToolsFrontend> web_tools_frontend_; | 52 scoped_ptr<WebKit::WebDevToolsFrontend> web_tools_frontend_; |
56 | 53 |
57 DISALLOW_COPY_AND_ASSIGN(DevToolsClient); | 54 DISALLOW_COPY_AND_ASSIGN(DevToolsClient); |
58 }; | 55 }; |
59 | 56 |
60 #endif // CONTENT_RENDERER_DEVTOOLS_CLIENT_H_ | 57 #endif // CONTENT_RENDERER_DEVTOOLS_CLIENT_H_ |
OLD | NEW |