OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_DEVTOOLS_AGENT_H_ | 5 #ifndef CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_ |
6 #define CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_ | 6 #define CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 | 65 |
66 void OnAttach(const std::string& host_id); | 66 void OnAttach(const std::string& host_id); |
67 void OnReattach(const std::string& host_id, | 67 void OnReattach(const std::string& host_id, |
68 const std::string& agent_state); | 68 const std::string& agent_state); |
69 void OnDetach(); | 69 void OnDetach(); |
70 void OnDispatchOnInspectorBackend(const std::string& message); | 70 void OnDispatchOnInspectorBackend(const std::string& message); |
71 void OnInspectElement(const std::string& host_id, int x, int y); | 71 void OnInspectElement(const std::string& host_id, int x, int y); |
72 void OnAddMessageToConsole(ConsoleMessageLevel level, | 72 void OnAddMessageToConsole(ConsoleMessageLevel level, |
73 const std::string& message); | 73 const std::string& message); |
74 void ContinueProgram(); | 74 void ContinueProgram(); |
75 void OnSetupDevToolsClient(); | 75 void OnSetupDevToolsClient(const std::string& injected_script); |
76 | 76 |
77 bool is_attached_; | 77 bool is_attached_; |
78 bool is_devtools_client_; | 78 bool is_devtools_client_; |
79 bool paused_in_mouse_move_; | 79 bool paused_in_mouse_move_; |
80 bool paused_; | 80 bool paused_; |
81 RenderFrameImpl* frame_; | 81 RenderFrameImpl* frame_; |
82 | 82 |
83 DISALLOW_COPY_AND_ASSIGN(DevToolsAgent); | 83 DISALLOW_COPY_AND_ASSIGN(DevToolsAgent); |
84 }; | 84 }; |
85 | 85 |
86 } // namespace content | 86 } // namespace content |
87 | 87 |
88 #endif // CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_ | 88 #endif // CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_ |
OLD | NEW |