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

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

Issue 2494633004: Remove about:srcdoc url conversion. (Closed)
Patch Set: Created 4 years, 1 month 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 25 matching lines...) Expand all
36 public: 36 public:
37 ~PrerenderTabHelper() override; 37 ~PrerenderTabHelper() override;
38 38
39 // content::WebContentsObserver implementation. 39 // content::WebContentsObserver implementation.
40 void DidGetRedirectForResourceRequest( 40 void DidGetRedirectForResourceRequest(
41 const content::ResourceRedirectDetails& details) override; 41 const content::ResourceRedirectDetails& details) override;
42 void DidStopLoading() override; 42 void DidStopLoading() override;
43 void DidStartProvisionalLoadForFrame( 43 void DidStartProvisionalLoadForFrame(
44 content::RenderFrameHost* render_frame_host, 44 content::RenderFrameHost* render_frame_host,
45 const GURL& validated_url, 45 const GURL& validated_url,
46 bool is_error_page, 46 bool is_error_page) override;
47 bool is_iframe_srcdoc) override;
48 void DidCommitProvisionalLoadForFrame( 47 void DidCommitProvisionalLoadForFrame(
49 content::RenderFrameHost* render_frame_host, 48 content::RenderFrameHost* render_frame_host,
50 const GURL& validated_url, 49 const GURL& validated_url,
51 ui::PageTransition transition_type) override; 50 ui::PageTransition transition_type) override;
52 51
53 // Called when the URL of the main frame changed, either when the load 52 // Called when the URL of the main frame changed, either when the load
54 // commits, or a redirect happens. 53 // commits, or a redirect happens.
55 void MainFrameUrlDidChange(const GURL& url); 54 void MainFrameUrlDidChange(const GURL& url);
56 55
57 // Called when this prerendered WebContents has just been swapped in. 56 // Called when this prerendered WebContents has just been swapped in.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 GURL url_; 103 GURL url_;
105 104
106 base::WeakPtrFactory<PrerenderTabHelper> weak_factory_; 105 base::WeakPtrFactory<PrerenderTabHelper> weak_factory_;
107 106
108 DISALLOW_COPY_AND_ASSIGN(PrerenderTabHelper); 107 DISALLOW_COPY_AND_ASSIGN(PrerenderTabHelper);
109 }; 108 };
110 109
111 } // namespace prerender 110 } // namespace prerender
112 111
113 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_TAB_HELPER_H_ 112 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_TAB_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698