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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 void didExitDebugLoop() override; | 64 void didExitDebugLoop() override; |
65 | 65 |
66 void enableTracing(const blink::WebString& category_filter) override; | 66 void enableTracing(const blink::WebString& category_filter) override; |
67 void disableTracing() override; | 67 void disableTracing() override; |
68 | 68 |
69 void OnAttach(const std::string& host_id); | 69 void OnAttach(const std::string& host_id); |
70 void OnReattach(const std::string& host_id, | 70 void OnReattach(const std::string& host_id, |
71 const std::string& agent_state); | 71 const std::string& agent_state); |
72 void OnDetach(); | 72 void OnDetach(); |
73 void OnDispatchOnInspectorBackend(const std::string& message); | 73 void OnDispatchOnInspectorBackend(const std::string& message); |
74 void OnInspectElement(const std::string& host_id, int x, int y); | 74 void OnInspectElement(int x, int y); |
75 void ContinueProgram(); | 75 void ContinueProgram(); |
76 void OnSetupDevToolsClient(const std::string& compatibility_script); | 76 void OnSetupDevToolsClient(const std::string& compatibility_script); |
77 | 77 |
78 bool is_attached_; | 78 bool is_attached_; |
79 bool is_devtools_client_; | 79 bool is_devtools_client_; |
80 bool paused_in_mouse_move_; | 80 bool paused_in_mouse_move_; |
81 bool paused_; | 81 bool paused_; |
82 RenderFrameImpl* frame_; | 82 RenderFrameImpl* frame_; |
83 | 83 |
84 DISALLOW_COPY_AND_ASSIGN(DevToolsAgent); | 84 DISALLOW_COPY_AND_ASSIGN(DevToolsAgent); |
85 }; | 85 }; |
86 | 86 |
87 } // namespace content | 87 } // namespace content |
88 | 88 |
89 #endif // CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_ | 89 #endif // CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_ |
OLD | NEW |