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

Side by Side Diff: content/browser/frame_host/navigator.h

Issue 743773003: OOPIF: Data URLs are now rendered in the renderer that initiated the navigation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test. Created 6 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FRAME_HOST_NAVIGATOR_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 89
90 // Navigation requests ------------------------------------------------------- 90 // Navigation requests -------------------------------------------------------
91 91
92 virtual base::TimeTicks GetCurrentLoadStart(); 92 virtual base::TimeTicks GetCurrentLoadStart();
93 93
94 // The RenderFrameHostImpl has received a request to open a URL with the 94 // The RenderFrameHostImpl has received a request to open a URL with the
95 // specified |disposition|. 95 // specified |disposition|.
96 virtual void RequestOpenURL(RenderFrameHostImpl* render_frame_host, 96 virtual void RequestOpenURL(RenderFrameHostImpl* render_frame_host,
97 const GURL& url, 97 const GURL& url,
98 SiteInstance* site_instance,
Charlie Reis 2014/11/20 19:58:43 It's not clear from the API what this is for. It
lfg 2014/12/05 21:55:42 Done.
98 const Referrer& referrer, 99 const Referrer& referrer,
99 WindowOpenDisposition disposition, 100 WindowOpenDisposition disposition,
100 bool should_replace_current_entry, 101 bool should_replace_current_entry,
101 bool user_gesture) {} 102 bool user_gesture) {}
102 103
103 // The RenderFrameHostImpl wants to transfer the request to a new renderer. 104 // The RenderFrameHostImpl wants to transfer the request to a new renderer.
104 // |redirect_chain| contains any redirect URLs (excluding |url|) that happened 105 // |redirect_chain| contains any redirect URLs (excluding |url|) that happened
105 // before the transfer. 106 // before the transfer.
106 virtual void RequestTransferURL( 107 virtual void RequestTransferURL(
107 RenderFrameHostImpl* render_frame_host, 108 RenderFrameHostImpl* render_frame_host,
108 const GURL& url, 109 const GURL& url,
110 SiteInstance* site_instance,
109 const std::vector<GURL>& redirect_chain, 111 const std::vector<GURL>& redirect_chain,
110 const Referrer& referrer, 112 const Referrer& referrer,
111 ui::PageTransition page_transition, 113 ui::PageTransition page_transition,
112 WindowOpenDisposition disposition, 114 WindowOpenDisposition disposition,
113 const GlobalRequestID& transferred_global_request_id, 115 const GlobalRequestID& transferred_global_request_id,
114 bool should_replace_current_entry, 116 bool should_replace_current_entry,
115 bool user_gesture) {} 117 bool user_gesture) {}
116 118
117 // PlzNavigate: Used to start a navigation. OnBeginNavigation is called 119 // PlzNavigate: Used to start a navigation. OnBeginNavigation is called
118 // directly by RequestNavigation when there is no live renderer. Otherwise, it 120 // directly by RequestNavigation when there is no live renderer. Otherwise, it
(...skipping 29 matching lines...) Expand all
148 const base::TimeTicks& renderer_before_unload_end_time) {} 150 const base::TimeTicks& renderer_before_unload_end_time) {}
149 151
150 protected: 152 protected:
151 friend class base::RefCounted<Navigator>; 153 friend class base::RefCounted<Navigator>;
152 virtual ~Navigator() {} 154 virtual ~Navigator() {}
153 }; 155 };
154 156
155 } // namespace content 157 } // namespace content
156 158
157 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_ 159 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698