| 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_FRAME_DEVTOOLS_AGENT_HOST_H_ | 5 #ifndef CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_ |
| 6 #define CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_ | 6 #define CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 public: | 59 public: |
| 60 static void AddAllAgentHosts(DevToolsAgentHost::List* result); | 60 static void AddAllAgentHosts(DevToolsAgentHost::List* result); |
| 61 | 61 |
| 62 static void OnCancelPendingNavigation(RenderFrameHost* pending, | 62 static void OnCancelPendingNavigation(RenderFrameHost* pending, |
| 63 RenderFrameHost* current); | 63 RenderFrameHost* current); |
| 64 static void OnBeforeNavigation(RenderFrameHost* current, | 64 static void OnBeforeNavigation(RenderFrameHost* current, |
| 65 RenderFrameHost* pending); | 65 RenderFrameHost* pending); |
| 66 static void OnBeforeNavigation(NavigationHandle* navigation_handle); | 66 static void OnBeforeNavigation(NavigationHandle* navigation_handle); |
| 67 | 67 |
| 68 void SynchronousSwapCompositorFrame( | 68 void SynchronousSwapCompositorFrame( |
| 69 const cc::CompositorFrameMetadata& frame_metadata); | 69 cc::CompositorFrameMetadata frame_metadata); |
| 70 | 70 |
| 71 bool HasRenderFrameHost(RenderFrameHost* host); | 71 bool HasRenderFrameHost(RenderFrameHost* host); |
| 72 | 72 |
| 73 FrameTreeNode* frame_tree_node() { return frame_tree_node_; } | 73 FrameTreeNode* frame_tree_node() { return frame_tree_node_; } |
| 74 | 74 |
| 75 // DevTooolsAgentHost overrides. | 75 // DevTooolsAgentHost overrides. |
| 76 void DisconnectWebContents() override; | 76 void DisconnectWebContents() override; |
| 77 void ConnectWebContents(WebContents* web_contents) override; | 77 void ConnectWebContents(WebContents* web_contents) override; |
| 78 BrowserContext* GetBrowserContext() override; | 78 BrowserContext* GetBrowserContext() override; |
| 79 WebContents* GetWebContents() override; | 79 WebContents* GetWebContents() override; |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 | 197 |
| 198 // The FrameTreeNode associated with this agent. | 198 // The FrameTreeNode associated with this agent. |
| 199 FrameTreeNode* frame_tree_node_; | 199 FrameTreeNode* frame_tree_node_; |
| 200 | 200 |
| 201 DISALLOW_COPY_AND_ASSIGN(RenderFrameDevToolsAgentHost); | 201 DISALLOW_COPY_AND_ASSIGN(RenderFrameDevToolsAgentHost); |
| 202 }; | 202 }; |
| 203 | 203 |
| 204 } // namespace content | 204 } // namespace content |
| 205 | 205 |
| 206 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_ | 206 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_ |
| OLD | NEW |