| 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 CHROME_RENDERER_DEVTOOLS_AGENT_H_ | 5 #ifndef CHROME_RENDERER_DEVTOOLS_AGENT_H_ |
| 6 #define CHROME_RENDERER_DEVTOOLS_AGENT_H_ | 6 #define CHROME_RENDERER_DEVTOOLS_AGENT_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 virtual void sendDebuggerOutput(const WebKit::WebString& data); | 47 virtual void sendDebuggerOutput(const WebKit::WebString& data); |
| 48 | 48 |
| 49 virtual int hostIdentifier(); | 49 virtual int hostIdentifier(); |
| 50 virtual void runtimeFeatureStateChanged(const WebKit::WebString& feature, | 50 virtual void runtimeFeatureStateChanged(const WebKit::WebString& feature, |
| 51 bool enabled); | 51 bool enabled); |
| 52 virtual void runtimePropertyChanged(const WebKit::WebString& name, | 52 virtual void runtimePropertyChanged(const WebKit::WebString& name, |
| 53 const WebKit::WebString& value); | 53 const WebKit::WebString& value); |
| 54 virtual WebKit::WebDevToolsAgentClient::WebKitClientMessageLoop* | 54 virtual WebKit::WebDevToolsAgentClient::WebKitClientMessageLoop* |
| 55 createClientMessageLoop(); | 55 createClientMessageLoop(); |
| 56 virtual bool exposeV8DebuggerProtocol(); | 56 virtual bool exposeV8DebuggerProtocol(); |
| 57 virtual void clearBrowserCache(); |
| 58 virtual void clearBrowserCookies(); |
| 57 | 59 |
| 58 void OnAttach(const DevToolsRuntimeProperties& runtime_properties); | 60 void OnAttach(const DevToolsRuntimeProperties& runtime_properties); |
| 59 void OnDetach(); | 61 void OnDetach(); |
| 60 void OnFrontendLoaded(); | 62 void OnFrontendLoaded(); |
| 61 void OnDispatchOnInspectorBackend(const std::string& message); | 63 void OnDispatchOnInspectorBackend(const std::string& message); |
| 62 void OnInspectElement(int x, int y); | 64 void OnInspectElement(int x, int y); |
| 63 void OnSetApuAgentEnabled(bool enabled); | 65 void OnSetApuAgentEnabled(bool enabled); |
| 64 void OnNavigate(); | 66 void OnNavigate(); |
| 65 void OnSetupDevToolsClient(); | 67 void OnSetupDevToolsClient(); |
| 66 | 68 |
| 67 static std::map<int, DevToolsAgent*> agent_for_routing_id_; | 69 static std::map<int, DevToolsAgent*> agent_for_routing_id_; |
| 68 | 70 |
| 69 bool expose_v8_debugger_protocol_; | 71 bool expose_v8_debugger_protocol_; |
| 70 | 72 |
| 71 DISALLOW_COPY_AND_ASSIGN(DevToolsAgent); | 73 DISALLOW_COPY_AND_ASSIGN(DevToolsAgent); |
| 72 }; | 74 }; |
| 73 | 75 |
| 74 #endif // CHROME_RENDERER_DEVTOOLS_AGENT_H_ | 76 #endif // CHROME_RENDERER_DEVTOOLS_AGENT_H_ |
| OLD | NEW |