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

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

Issue 1715993002: OOPIF: Fix remote frame navigations from extension pages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolve mid-air collision in FlagExpectations/site-per-process Created 4 years, 9 months 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/browser/frame_host/navigator_delegate.h" 10 #include "content/browser/frame_host/navigator_delegate.h"
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 WindowOpenDisposition disposition, 117 WindowOpenDisposition disposition,
118 bool should_replace_current_entry, 118 bool should_replace_current_entry,
119 bool user_gesture) {} 119 bool user_gesture) {}
120 120
121 // The RenderFrameHostImpl wants to transfer the request to a new renderer. 121 // The RenderFrameHostImpl wants to transfer the request to a new renderer.
122 // |redirect_chain| contains any redirect URLs (excluding |url|) that happened 122 // |redirect_chain| contains any redirect URLs (excluding |url|) that happened
123 // before the transfer. 123 // before the transfer.
124 virtual void RequestTransferURL( 124 virtual void RequestTransferURL(
125 RenderFrameHostImpl* render_frame_host, 125 RenderFrameHostImpl* render_frame_host,
126 const GURL& url, 126 const GURL& url,
127 SiteInstance* source_site_instance,
127 const std::vector<GURL>& redirect_chain, 128 const std::vector<GURL>& redirect_chain,
128 const Referrer& referrer, 129 const Referrer& referrer,
129 ui::PageTransition page_transition, 130 ui::PageTransition page_transition,
130 const GlobalRequestID& transferred_global_request_id, 131 const GlobalRequestID& transferred_global_request_id,
131 bool should_replace_current_entry) {} 132 bool should_replace_current_entry) {}
132 133
133 // PlzNavigate 134 // PlzNavigate
134 // Called after receiving a BeforeUnloadACK IPC from the renderer. If 135 // Called after receiving a BeforeUnloadACK IPC from the renderer. If
135 // |frame_tree_node| has a NavigationRequest waiting for the renderer 136 // |frame_tree_node| has a NavigationRequest waiting for the renderer
136 // response, then the request is either started or canceled, depending on the 137 // response, then the request is either started or canceled, depending on the
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 const base::TimeTicks& renderer_before_unload_end_time) {} 185 const base::TimeTicks& renderer_before_unload_end_time) {}
185 186
186 protected: 187 protected:
187 friend class base::RefCounted<Navigator>; 188 friend class base::RefCounted<Navigator>;
188 virtual ~Navigator() {} 189 virtual ~Navigator() {}
189 }; 190 };
190 191
191 } // namespace content 192 } // namespace content
192 193
193 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_ 194 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698