| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 // WebContentsObserver overrides. | 52 // WebContentsObserver overrides. |
| 53 virtual void AboutToNavigateRenderView(RenderViewHost* dest_rvh) OVERRIDE; | 53 virtual void AboutToNavigateRenderView(RenderViewHost* dest_rvh) OVERRIDE; |
| 54 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; | 54 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; |
| 55 virtual void DidAttachInterstitialPage() OVERRIDE; | 55 virtual void DidAttachInterstitialPage() OVERRIDE; |
| 56 | 56 |
| 57 void SetRenderViewHost(RenderViewHost* rvh); | 57 void SetRenderViewHost(RenderViewHost* rvh); |
| 58 | 58 |
| 59 void RenderViewHostDestroyed(RenderViewHost* rvh); | 59 void RenderViewHostDestroyed(RenderViewHost* rvh); |
| 60 void RenderViewCrashed(); | 60 void RenderViewCrashed(); |
| 61 bool OnRvhMessageReceived(const IPC::Message& message); | 61 bool OnRvhMessageReceived(const IPC::Message& message); |
| 62 void OnSwapCompositorFrame(); | 62 void OnSwapCompositorFrame(const IPC::Message& message); |
| 63 | 63 |
| 64 void OnDispatchOnInspectorFrontend(const std::string& message); | 64 void OnDispatchOnInspectorFrontend(const std::string& message); |
| 65 void OnSaveAgentRuntimeState(const std::string& state); | 65 void OnSaveAgentRuntimeState(const std::string& state); |
| 66 void OnClearBrowserCache(); | 66 void OnClearBrowserCache(); |
| 67 void OnClearBrowserCookies(); | 67 void OnClearBrowserCookies(); |
| 68 | 68 |
| 69 void ClientDetachedFromRenderer(); | 69 void ClientDetachedFromRenderer(); |
| 70 | 70 |
| 71 RenderViewHost* render_view_host_; | 71 RenderViewHost* render_view_host_; |
| 72 scoped_ptr<DevToolsAgentHostRvhObserver> rvh_observer_; | 72 scoped_ptr<DevToolsAgentHostRvhObserver> rvh_observer_; |
| 73 scoped_ptr<RendererOverridesHandler> overrides_handler_; | 73 scoped_ptr<RendererOverridesHandler> overrides_handler_; |
| 74 scoped_ptr<DevToolsTracingHandler> tracing_handler_; | 74 scoped_ptr<DevToolsTracingHandler> tracing_handler_; |
| 75 std::string state_; | 75 std::string state_; |
| 76 | 76 |
| 77 DISALLOW_COPY_AND_ASSIGN(RenderViewDevToolsAgentHost); | 77 DISALLOW_COPY_AND_ASSIGN(RenderViewDevToolsAgentHost); |
| 78 }; | 78 }; |
| 79 | 79 |
| 80 } // namespace content | 80 } // namespace content |
| 81 | 81 |
| 82 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ | 82 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ |
| OLD | NEW |