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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 | 51 |
52 private: | 52 private: |
53 friend class DevToolsAgentHost; | 53 friend class DevToolsAgentHost; |
54 | 54 |
55 virtual ~RenderViewDevToolsAgentHost(); | 55 virtual ~RenderViewDevToolsAgentHost(); |
56 | 56 |
57 // DevTooolsAgentHost overrides. | 57 // DevTooolsAgentHost overrides. |
58 virtual void DisconnectRenderViewHost() OVERRIDE; | 58 virtual void DisconnectRenderViewHost() OVERRIDE; |
59 virtual void ConnectRenderViewHost(RenderViewHost* rvh) OVERRIDE; | 59 virtual void ConnectRenderViewHost(RenderViewHost* rvh) OVERRIDE; |
60 virtual RenderViewHost* GetRenderViewHost() OVERRIDE; | 60 virtual RenderViewHost* GetRenderViewHost() OVERRIDE; |
| 61 virtual GURL GetURL() OVERRIDE; |
61 | 62 |
62 // IPCDevToolsAgentHost overrides. | 63 // IPCDevToolsAgentHost overrides. |
63 virtual void DispatchOnInspectorBackend(const std::string& message) OVERRIDE; | 64 virtual void DispatchOnInspectorBackend(const std::string& message) OVERRIDE; |
64 virtual void SendMessageToAgent(IPC::Message* msg) OVERRIDE; | 65 virtual void SendMessageToAgent(IPC::Message* msg) OVERRIDE; |
65 virtual void OnClientAttached() OVERRIDE; | 66 virtual void OnClientAttached() OVERRIDE; |
66 virtual void OnClientDetached() OVERRIDE; | 67 virtual void OnClientDetached() OVERRIDE; |
67 | 68 |
68 // WebContentsObserver overrides. | 69 // WebContentsObserver overrides. |
69 virtual void AboutToNavigateRenderView(RenderViewHost* dest_rvh) OVERRIDE; | 70 virtual void AboutToNavigateRenderView(RenderViewHost* dest_rvh) OVERRIDE; |
70 virtual void RenderViewHostChanged(RenderViewHost* old_host, | 71 virtual void RenderViewHostChanged(RenderViewHost* old_host, |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 std::string state_; | 107 std::string state_; |
107 NotificationRegistrar registrar_; | 108 NotificationRegistrar registrar_; |
108 bool reattaching_; | 109 bool reattaching_; |
109 | 110 |
110 DISALLOW_COPY_AND_ASSIGN(RenderViewDevToolsAgentHost); | 111 DISALLOW_COPY_AND_ASSIGN(RenderViewDevToolsAgentHost); |
111 }; | 112 }; |
112 | 113 |
113 } // namespace content | 114 } // namespace content |
114 | 115 |
115 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ | 116 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ |
OLD | NEW |