| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 static void WebContentsCreated(WebContents* web_contents); | 64 static void WebContentsCreated(WebContents* web_contents); |
| 65 | 65 |
| 66 static void SignalSynchronousSwapCompositorFrame( | 66 static void SignalSynchronousSwapCompositorFrame( |
| 67 RenderFrameHost* frame_host, | 67 RenderFrameHost* frame_host, |
| 68 cc::CompositorFrameMetadata frame_metadata); | 68 cc::CompositorFrameMetadata frame_metadata); |
| 69 | 69 |
| 70 bool HasRenderFrameHost(RenderFrameHost* host); | 70 bool HasRenderFrameHost(RenderFrameHost* host); |
| 71 | 71 |
| 72 FrameTreeNode* frame_tree_node() { return frame_tree_node_; } | 72 FrameTreeNode* frame_tree_node() { return frame_tree_node_; } |
| 73 | 73 |
| 74 // DevTooolsAgentHost overrides. | 74 // DevToolsAgentHost overrides. |
| 75 void DisconnectWebContents() override; | 75 void DisconnectWebContents() override; |
| 76 void ConnectWebContents(WebContents* web_contents) override; | 76 void ConnectWebContents(WebContents* web_contents) override; |
| 77 BrowserContext* GetBrowserContext() override; | 77 BrowserContext* GetBrowserContext() override; |
| 78 WebContents* GetWebContents() override; | 78 WebContents* GetWebContents() override; |
| 79 std::string GetParentId() override; | 79 std::string GetParentId() override; |
| 80 std::string GetType() override; | 80 std::string GetType() override; |
| 81 std::string GetTitle() override; | 81 std::string GetTitle() override; |
| 82 std::string GetDescription() override; | 82 std::string GetDescription() override; |
| 83 GURL GetURL() override; | 83 GURL GetURL() override; |
| 84 GURL GetFaviconURL() override; | 84 GURL GetFaviconURL() override; |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 | 190 |
| 191 // The FrameTreeNode associated with this agent. | 191 // The FrameTreeNode associated with this agent. |
| 192 FrameTreeNode* frame_tree_node_; | 192 FrameTreeNode* frame_tree_node_; |
| 193 | 193 |
| 194 DISALLOW_COPY_AND_ASSIGN(RenderFrameDevToolsAgentHost); | 194 DISALLOW_COPY_AND_ASSIGN(RenderFrameDevToolsAgentHost); |
| 195 }; | 195 }; |
| 196 | 196 |
| 197 } // namespace content | 197 } // namespace content |
| 198 | 198 |
| 199 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_ | 199 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_ |
| OLD | NEW |