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

Side by Side Diff: chrome/browser/prerender/prerender_tab_helper.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
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_TAB_HELPER_H_ 5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_TAB_HELPER_H_
6 #define CHROME_BROWSER_PRERENDER_PRERENDER_TAB_HELPER_H_ 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_TAB_HELPER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 17 matching lines...) Expand all
28 public: 28 public:
29 ~PrerenderTabHelper() override; 29 ~PrerenderTabHelper() override;
30 30
31 // content::WebContentsObserver implementation. 31 // content::WebContentsObserver implementation.
32 void DidGetRedirectForResourceRequest( 32 void DidGetRedirectForResourceRequest(
33 const content::ResourceRedirectDetails& details) override; 33 const content::ResourceRedirectDetails& details) override;
34 void DidStopLoading() override; 34 void DidStopLoading() override;
35 void DidStartProvisionalLoadForFrame( 35 void DidStartProvisionalLoadForFrame(
36 content::RenderFrameHost* render_frame_host, 36 content::RenderFrameHost* render_frame_host,
37 const GURL& validated_url, 37 const GURL& validated_url,
38 bool is_error_page) override; 38 bool is_error_page,
39 bool is_iframe_srcdoc) override;
39 void DidCommitProvisionalLoadForFrame( 40 void DidCommitProvisionalLoadForFrame(
40 content::RenderFrameHost* render_frame_host, 41 content::RenderFrameHost* render_frame_host,
41 const GURL& validated_url, 42 const GURL& validated_url,
42 ui::PageTransition transition_type) override; 43 ui::PageTransition transition_type) override;
43 44
44 // Called when the URL of the main frame changed, either when the load 45 // Called when the URL of the main frame changed, either when the load
45 // commits, or a redirect happens. 46 // commits, or a redirect happens.
46 void MainFrameUrlDidChange(const GURL& url); 47 void MainFrameUrlDidChange(const GURL& url);
47 48
48 // Called when this prerendered WebContents has just been swapped in. 49 // Called when this prerendered WebContents has just been swapped in.
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 GURL url_; 101 GURL url_;
101 102
102 base::WeakPtrFactory<PrerenderTabHelper> weak_factory_; 103 base::WeakPtrFactory<PrerenderTabHelper> weak_factory_;
103 104
104 DISALLOW_COPY_AND_ASSIGN(PrerenderTabHelper); 105 DISALLOW_COPY_AND_ASSIGN(PrerenderTabHelper);
105 }; 106 };
106 107
107 } // namespace prerender 108 } // namespace prerender
108 109
109 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_TAB_HELPER_H_ 110 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_TAB_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/prerender/prerender_contents.cc ('k') | chrome/browser/prerender/prerender_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698