| 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_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ | 5 #ifndef CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ |
| 6 #define CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ | 6 #define CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 | 90 |
| 91 void SetRenderViewHost(RenderViewHost* rvh); | 91 void SetRenderViewHost(RenderViewHost* rvh); |
| 92 void ClearRenderViewHost(); | 92 void ClearRenderViewHost(); |
| 93 | 93 |
| 94 void RenderViewCrashed(); | 94 void RenderViewCrashed(); |
| 95 void OnSwapCompositorFrame(const IPC::Message& message); | 95 void OnSwapCompositorFrame(const IPC::Message& message); |
| 96 bool OnSetTouchEventEmulationEnabled(const IPC::Message& message); | 96 bool OnSetTouchEventEmulationEnabled(const IPC::Message& message); |
| 97 | 97 |
| 98 void OnDispatchOnInspectorFrontend(const std::string& message); | 98 void OnDispatchOnInspectorFrontend(const std::string& message); |
| 99 void OnSaveAgentRuntimeState(const std::string& state); | 99 void OnSaveAgentRuntimeState(const std::string& state); |
| 100 void OnEnableTracing(const std::string& category_filter); |
| 101 void OnDisableTracing(); |
| 100 | 102 |
| 101 void ClientDetachedFromRenderer(); | 103 void ClientDetachedFromRenderer(); |
| 102 | 104 |
| 103 void InnerOnClientAttached(); | 105 void InnerOnClientAttached(); |
| 104 void InnerClientDetachedFromRenderer(); | 106 void InnerClientDetachedFromRenderer(); |
| 105 | 107 |
| 106 RenderViewHostImpl* render_view_host_; | 108 RenderViewHostImpl* render_view_host_; |
| 107 scoped_ptr<RendererOverridesHandler> overrides_handler_; | 109 scoped_ptr<RendererOverridesHandler> overrides_handler_; |
| 108 scoped_ptr<DevToolsTracingHandler> tracing_handler_; | 110 scoped_ptr<DevToolsTracingHandler> tracing_handler_; |
| 109 scoped_ptr<DevToolsPowerHandler> power_handler_; | 111 scoped_ptr<DevToolsPowerHandler> power_handler_; |
| 110 #if defined(OS_ANDROID) | 112 #if defined(OS_ANDROID) |
| 111 scoped_ptr<PowerSaveBlockerImpl> power_save_blocker_; | 113 scoped_ptr<PowerSaveBlockerImpl> power_save_blocker_; |
| 112 #endif | 114 #endif |
| 113 std::string state_; | 115 std::string state_; |
| 114 NotificationRegistrar registrar_; | 116 NotificationRegistrar registrar_; |
| 115 bool reattaching_; | 117 bool reattaching_; |
| 116 | 118 |
| 117 DISALLOW_COPY_AND_ASSIGN(RenderViewDevToolsAgentHost); | 119 DISALLOW_COPY_AND_ASSIGN(RenderViewDevToolsAgentHost); |
| 118 }; | 120 }; |
| 119 | 121 |
| 120 } // namespace content | 122 } // namespace content |
| 121 | 123 |
| 122 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ | 124 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ |
| OLD | NEW |