Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: content/browser/devtools/render_frame_devtools_agent_host.h

Issue 2096493002: Make cc::CompositorFrames movable [Part 1 of 2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Dana's nits Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « content/browser/devtools/protocol/page_handler.cc ('k') | content/browser/devtools/render_frame_devtools_agent_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698