Chromium Code Reviews| 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 | 57 |
|
jam
2011/07/12 01:13:00
nit: why the blank line?
| |
| 58 virtual void clearBrowserCache(); | |
| 59 virtual void clearBrowserCookies(); | |
| 60 | |
| 58 void OnAttach(const DevToolsRuntimeProperties& runtime_properties); | 61 void OnAttach(const DevToolsRuntimeProperties& runtime_properties); |
| 59 void OnDetach(); | 62 void OnDetach(); |
| 60 void OnFrontendLoaded(); | 63 void OnFrontendLoaded(); |
| 61 void OnDispatchOnInspectorBackend(const std::string& message); | 64 void OnDispatchOnInspectorBackend(const std::string& message); |
| 62 void OnInspectElement(int x, int y); | 65 void OnInspectElement(int x, int y); |
| 63 void OnSetApuAgentEnabled(bool enabled); | 66 void OnSetApuAgentEnabled(bool enabled); |
| 64 void OnNavigate(); | 67 void OnNavigate(); |
| 65 void OnSetupDevToolsClient(); | 68 void OnSetupDevToolsClient(); |
| 66 | 69 |
| 67 static std::map<int, DevToolsAgent*> agent_for_routing_id_; | 70 static std::map<int, DevToolsAgent*> agent_for_routing_id_; |
| 68 | 71 |
| 69 bool expose_v8_debugger_protocol_; | 72 bool expose_v8_debugger_protocol_; |
| 70 | 73 |
| 71 DISALLOW_COPY_AND_ASSIGN(DevToolsAgent); | 74 DISALLOW_COPY_AND_ASSIGN(DevToolsAgent); |
| 72 }; | 75 }; |
| 73 | 76 |
| 74 #endif // CHROME_RENDERER_DEVTOOLS_AGENT_H_ | 77 #endif // CHROME_RENDERER_DEVTOOLS_AGENT_H_ |
| OLD | NEW |