| 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(); | |
| 102 | 100 |
| 103 void ClientDetachedFromRenderer(); | 101 void ClientDetachedFromRenderer(); |
| 104 | 102 |
| 105 void InnerOnClientAttached(); | 103 void InnerOnClientAttached(); |
| 106 void InnerClientDetachedFromRenderer(); | 104 void InnerClientDetachedFromRenderer(); |
| 107 | 105 |
| 108 RenderViewHostImpl* render_view_host_; | 106 RenderViewHostImpl* render_view_host_; |
| 109 scoped_ptr<RendererOverridesHandler> overrides_handler_; | 107 scoped_ptr<RendererOverridesHandler> overrides_handler_; |
| 110 scoped_ptr<DevToolsTracingHandler> tracing_handler_; | 108 scoped_ptr<DevToolsTracingHandler> tracing_handler_; |
| 111 scoped_ptr<DevToolsPowerHandler> power_handler_; | 109 scoped_ptr<DevToolsPowerHandler> power_handler_; |
| 112 #if defined(OS_ANDROID) | 110 #if defined(OS_ANDROID) |
| 113 scoped_ptr<PowerSaveBlockerImpl> power_save_blocker_; | 111 scoped_ptr<PowerSaveBlockerImpl> power_save_blocker_; |
| 114 #endif | 112 #endif |
| 115 std::string state_; | 113 std::string state_; |
| 116 NotificationRegistrar registrar_; | 114 NotificationRegistrar registrar_; |
| 117 bool reattaching_; | 115 bool reattaching_; |
| 118 | 116 |
| 119 DISALLOW_COPY_AND_ASSIGN(RenderViewDevToolsAgentHost); | 117 DISALLOW_COPY_AND_ASSIGN(RenderViewDevToolsAgentHost); |
| 120 }; | 118 }; |
| 121 | 119 |
| 122 } // namespace content | 120 } // namespace content |
| 123 | 121 |
| 124 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ | 122 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ |
| OLD | NEW |