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

Side by Side Diff: chrome/browser/prerender/prerender_contents.h

Issue 2541063002: Revert of Remove about:srcdoc url conversion. (Closed)
Patch Set: Created 4 years 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 | « chrome/browser/history/history_utils.cc ('k') | chrome/browser/prerender/prerender_contents.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 CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_
6 #define CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 const content::SessionStorageNamespace* session_storage_namespace) const; 163 const content::SessionStorageNamespace* session_storage_namespace) const;
164 164
165 // content::WebContentsObserver implementation. 165 // content::WebContentsObserver implementation.
166 void RenderFrameCreated(content::RenderFrameHost* render_frame_host) override; 166 void RenderFrameCreated(content::RenderFrameHost* render_frame_host) override;
167 void DidStopLoading() override; 167 void DidStopLoading() override;
168 void DocumentLoadedInFrame( 168 void DocumentLoadedInFrame(
169 content::RenderFrameHost* render_frame_host) override; 169 content::RenderFrameHost* render_frame_host) override;
170 void DidStartProvisionalLoadForFrame( 170 void DidStartProvisionalLoadForFrame(
171 content::RenderFrameHost* render_frame_host, 171 content::RenderFrameHost* render_frame_host,
172 const GURL& validated_url, 172 const GURL& validated_url,
173 bool is_error_page) override; 173 bool is_error_page,
174 bool is_iframe_srcdoc) override;
174 void DidFinishLoad(content::RenderFrameHost* render_frame_host, 175 void DidFinishLoad(content::RenderFrameHost* render_frame_host,
175 const GURL& validated_url) override; 176 const GURL& validated_url) override;
176 void DidNavigateMainFrame( 177 void DidNavigateMainFrame(
177 const content::LoadCommittedDetails& details, 178 const content::LoadCommittedDetails& details,
178 const content::FrameNavigateParams& params) override; 179 const content::FrameNavigateParams& params) override;
179 void DidGetRedirectForResourceRequest( 180 void DidGetRedirectForResourceRequest(
180 const content::ResourceRedirectDetails& details) override; 181 const content::ResourceRedirectDetails& details) override;
181 bool OnMessageReceived(const IPC::Message& message) override; 182 bool OnMessageReceived(const IPC::Message& message) override;
182 183
183 void RenderProcessGone(base::TerminationStatus status) override; 184 void RenderProcessGone(base::TerminationStatus status) override;
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 // A running tally of the number of bytes this prerender has caused to be 366 // A running tally of the number of bytes this prerender has caused to be
366 // transferred over the network for resources. Updated with AddNetworkBytes. 367 // transferred over the network for resources. Updated with AddNetworkBytes.
367 int64_t network_bytes_; 368 int64_t network_bytes_;
368 369
369 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); 370 DISALLOW_COPY_AND_ASSIGN(PrerenderContents);
370 }; 371 };
371 372
372 } // namespace prerender 373 } // namespace prerender
373 374
374 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ 375 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/history/history_utils.cc ('k') | chrome/browser/prerender/prerender_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698