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

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

Issue 2655413002: Convert RenderFrameDevToolsAgentHost to use the new navigation callbacks. (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | content/browser/devtools/render_frame_devtools_agent_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 void RenderFrameHostChanged(RenderFrameHost* old_host, 106 void RenderFrameHostChanged(RenderFrameHost* old_host,
107 RenderFrameHost* new_host) override; 107 RenderFrameHost* new_host) override;
108 void FrameDeleted(RenderFrameHost* rfh) override; 108 void FrameDeleted(RenderFrameHost* rfh) override;
109 void RenderFrameDeleted(RenderFrameHost* rfh) override; 109 void RenderFrameDeleted(RenderFrameHost* rfh) override;
110 void RenderProcessGone(base::TerminationStatus status) override; 110 void RenderProcessGone(base::TerminationStatus status) override;
111 bool OnMessageReceived(const IPC::Message& message, 111 bool OnMessageReceived(const IPC::Message& message,
112 RenderFrameHost* render_frame_host) override; 112 RenderFrameHost* render_frame_host) override;
113 bool OnMessageReceived(const IPC::Message& message) override; 113 bool OnMessageReceived(const IPC::Message& message) override;
114 void DidAttachInterstitialPage() override; 114 void DidAttachInterstitialPage() override;
115 void DidDetachInterstitialPage() override; 115 void DidDetachInterstitialPage() override;
116 void DidCommitProvisionalLoadForFrame(
117 RenderFrameHost* render_frame_host,
118 const GURL& url,
119 ui::PageTransition transition_type) override;
120 void DidFailProvisionalLoad(
121 RenderFrameHost* render_frame_host,
122 const GURL& validated_url,
123 int error_code,
124 const base::string16& error_description,
125 bool was_ignored_by_handler) override;
126 void WasShown() override; 116 void WasShown() override;
127 void WasHidden() override; 117 void WasHidden() override;
128 118
129 void AboutToNavigateRenderFrame(RenderFrameHost* old_host, 119 void AboutToNavigateRenderFrame(RenderFrameHost* old_host,
130 RenderFrameHost* new_host); 120 RenderFrameHost* new_host);
131 void AboutToNavigate(NavigationHandle* navigation_handle); 121 void AboutToNavigate(NavigationHandle* navigation_handle);
132 122
133 void DispatchBufferedProtocolMessagesIfNecessary(); 123 void DispatchBufferedProtocolMessagesIfNecessary();
134 124
135 void SetPending(RenderFrameHostImpl* host); 125 void SetPending(RenderFrameHostImpl* host);
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 180
191 // The FrameTreeNode associated with this agent. 181 // The FrameTreeNode associated with this agent.
192 FrameTreeNode* frame_tree_node_; 182 FrameTreeNode* frame_tree_node_;
193 183
194 DISALLOW_COPY_AND_ASSIGN(RenderFrameDevToolsAgentHost); 184 DISALLOW_COPY_AND_ASSIGN(RenderFrameDevToolsAgentHost);
195 }; 185 };
196 186
197 } // namespace content 187 } // namespace content
198 188
199 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_ 189 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/devtools/render_frame_devtools_agent_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698