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

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

Issue 2494633004: Remove about:srcdoc url conversion. (Closed)
Patch Set: Rebase 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, 38 bool is_error_page) override;
39 bool is_iframe_srcdoc) override;
40 void DidCommitProvisionalLoadForFrame( 39 void DidCommitProvisionalLoadForFrame(
41 content::RenderFrameHost* render_frame_host, 40 content::RenderFrameHost* render_frame_host,
42 const GURL& validated_url, 41 const GURL& validated_url,
43 ui::PageTransition transition_type) override; 42 ui::PageTransition transition_type) override;
44 43
45 // Called when the URL of the main frame changed, either when the load 44 // Called when the URL of the main frame changed, either when the load
46 // commits, or a redirect happens. 45 // commits, or a redirect happens.
47 void MainFrameUrlDidChange(const GURL& url); 46 void MainFrameUrlDidChange(const GURL& url);
48 47
49 // Called when this prerendered WebContents has just been swapped in. 48 // Called when this prerendered WebContents has just been swapped in.
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 GURL url_; 100 GURL url_;
102 101
103 base::WeakPtrFactory<PrerenderTabHelper> weak_factory_; 102 base::WeakPtrFactory<PrerenderTabHelper> weak_factory_;
104 103
105 DISALLOW_COPY_AND_ASSIGN(PrerenderTabHelper); 104 DISALLOW_COPY_AND_ASSIGN(PrerenderTabHelper);
106 }; 105 };
107 106
108 } // namespace prerender 107 } // namespace prerender
109 108
110 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_TAB_HELPER_H_ 109 #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