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

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

Issue 2686943002: New WebContents created via ctrl-click should be in a new process. (Closed)
Patch Set: s/renderer/process/ in the field name + initializing the field and variables. Created 3 years, 8 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/navigation_handle_impl.h" 10 #include "content/browser/frame_host/navigation_handle_impl.h"
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 // The RenderFrameHostImpl has received a request to open a URL with the 114 // The RenderFrameHostImpl has received a request to open a URL with the
115 // specified |disposition|. 115 // specified |disposition|.
116 virtual void RequestOpenURL( 116 virtual void RequestOpenURL(
117 RenderFrameHostImpl* render_frame_host, 117 RenderFrameHostImpl* render_frame_host,
118 const GURL& url, 118 const GURL& url,
119 bool uses_post, 119 bool uses_post,
120 const scoped_refptr<ResourceRequestBodyImpl>& body, 120 const scoped_refptr<ResourceRequestBodyImpl>& body,
121 const std::string& extra_headers, 121 const std::string& extra_headers,
122 const Referrer& referrer, 122 const Referrer& referrer,
123 WindowOpenDisposition disposition, 123 WindowOpenDisposition disposition,
124 bool force_new_process_for_new_contents,
124 bool should_replace_current_entry, 125 bool should_replace_current_entry,
125 bool user_gesture) {} 126 bool user_gesture) {}
126 127
127 // The RenderFrameHostImpl wants to transfer the request to a new renderer. 128 // The RenderFrameHostImpl wants to transfer the request to a new renderer.
128 // |redirect_chain| contains any redirect URLs (excluding |url|) that happened 129 // |redirect_chain| contains any redirect URLs (excluding |url|) that happened
129 // before the transfer. If |method| is "POST", then |post_body| needs to 130 // before the transfer. If |method| is "POST", then |post_body| needs to
130 // specify the request body, otherwise |post_body| should be null. 131 // specify the request body, otherwise |post_body| should be null.
131 virtual void RequestTransferURL( 132 virtual void RequestTransferURL(
132 RenderFrameHostImpl* render_frame_host, 133 RenderFrameHostImpl* render_frame_host,
133 const GURL& url, 134 const GURL& url,
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 virtual void DiscardPendingEntryIfNeeded(NavigationHandleImpl* handle) {} 189 virtual void DiscardPendingEntryIfNeeded(NavigationHandleImpl* handle) {}
189 190
190 protected: 191 protected:
191 friend class base::RefCounted<Navigator>; 192 friend class base::RefCounted<Navigator>;
192 virtual ~Navigator() {} 193 virtual ~Navigator() {}
193 }; 194 };
194 195
195 } // namespace content 196 } // namespace content
196 197
197 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_ 198 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_
OLDNEW
« no previous file with comments | « chrome/test/data/frame_tree/anchor_to_same_site_location.html ('k') | content/browser/frame_host/navigator_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698