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

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

Issue 2780373002: Use observer pattern instead of sniffing SwapCompositorFrame IPC (Closed)
Patch Set: Addressed comments Created 3 years, 8 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 // WebContentsObserver overrides. 110 // WebContentsObserver overrides.
111 void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override; 111 void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override;
112 void DidFinishNavigation(NavigationHandle* navigation_handle) override; 112 void DidFinishNavigation(NavigationHandle* navigation_handle) override;
113 void RenderFrameHostChanged(RenderFrameHost* old_host, 113 void RenderFrameHostChanged(RenderFrameHost* old_host,
114 RenderFrameHost* new_host) override; 114 RenderFrameHost* new_host) override;
115 void FrameDeleted(RenderFrameHost* rfh) override; 115 void FrameDeleted(RenderFrameHost* rfh) override;
116 void RenderFrameDeleted(RenderFrameHost* rfh) override; 116 void RenderFrameDeleted(RenderFrameHost* rfh) override;
117 void RenderProcessGone(base::TerminationStatus status) override; 117 void RenderProcessGone(base::TerminationStatus status) override;
118 bool OnMessageReceived(const IPC::Message& message, 118 bool OnMessageReceived(const IPC::Message& message,
119 RenderFrameHost* render_frame_host) override; 119 RenderFrameHost* render_frame_host) override;
120 bool OnMessageReceived(const IPC::Message& message) override;
121 void DidAttachInterstitialPage() override; 120 void DidAttachInterstitialPage() override;
122 void DidDetachInterstitialPage() override; 121 void DidDetachInterstitialPage() override;
123 void WasShown() override; 122 void WasShown() override;
124 void WasHidden() override; 123 void WasHidden() override;
124 void DidReceiveCompositorFrame() override;
125 125
126 void AboutToNavigateRenderFrame(RenderFrameHost* old_host, 126 void AboutToNavigateRenderFrame(RenderFrameHost* old_host,
127 RenderFrameHost* new_host); 127 RenderFrameHost* new_host);
128 void AboutToNavigate(NavigationHandle* navigation_handle); 128 void AboutToNavigate(NavigationHandle* navigation_handle);
129 void OnFailedNavigation(const CommonNavigationParams& common_params, 129 void OnFailedNavigation(const CommonNavigationParams& common_params,
130 const BeginNavigationParams& begin_params, 130 const BeginNavigationParams& begin_params,
131 net::Error error_code); 131 net::Error error_code);
132 132
133 void DispatchBufferedProtocolMessagesIfNecessary(); 133 void DispatchBufferedProtocolMessagesIfNecessary();
134 134
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « chrome/browser/apps/guest_view/web_view_browsertest.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