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

Side by Side Diff: content/public/browser/content_browser_client.cc

Issue 61503003: Additional window features are not passed as a parameter to new popup windows (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Applied changes on latest trunk. Created 7 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 | Annotate | Revision Log
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 #include "content/public/browser/content_browser_client.h" 5 #include "content/public/browser/content_browser_client.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "ui/gfx/image/image_skia.h" 8 #include "ui/gfx/image/image_skia.h"
9 #include "url/gurl.h" 9 #include "url/gurl.h"
10 10
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 213
214 bool ContentBrowserClient::CanCreateWindow( 214 bool ContentBrowserClient::CanCreateWindow(
215 const GURL& opener_url, 215 const GURL& opener_url,
216 const GURL& opener_top_level_frame_url, 216 const GURL& opener_top_level_frame_url,
217 const GURL& source_origin, 217 const GURL& source_origin,
218 WindowContainerType container_type, 218 WindowContainerType container_type,
219 const GURL& target_url, 219 const GURL& target_url,
220 const content::Referrer& referrer, 220 const content::Referrer& referrer,
221 WindowOpenDisposition disposition, 221 WindowOpenDisposition disposition,
222 const blink::WebWindowFeatures& features, 222 const blink::WebWindowFeatures& features,
223 const std::vector<string16>& additional_features,
223 bool user_gesture, 224 bool user_gesture,
224 bool opener_suppressed, 225 bool opener_suppressed,
225 content::ResourceContext* context, 226 content::ResourceContext* context,
226 int render_process_id, 227 int render_process_id,
227 bool is_guest, 228 bool is_guest,
228 int opener_id, 229 int opener_id,
229 bool* no_javascript_access) { 230 bool* no_javascript_access) {
230 *no_javascript_access = false; 231 *no_javascript_access = false;
231 return true; 232 return true;
232 } 233 }
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 } 302 }
302 #endif 303 #endif
303 304
304 bool ContentBrowserClient::IsPluginAllowedToCallRequestOSFileHandle( 305 bool ContentBrowserClient::IsPluginAllowedToCallRequestOSFileHandle(
305 content::BrowserContext* browser_context, 306 content::BrowserContext* browser_context,
306 const GURL& url) { 307 const GURL& url) {
307 return false; 308 return false;
308 } 309 }
309 310
310 } // namespace content 311 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698