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

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

Issue 2206963002: Plumb the frame name through the popup blocker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/guid.h" 8 #include "base/guid.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "content/public/browser/client_certificate_delegate.h" 10 #include "content/public/browser/client_certificate_delegate.h"
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 return nullptr; 278 return nullptr;
279 } 279 }
280 280
281 bool ContentBrowserClient::CanCreateWindow( 281 bool ContentBrowserClient::CanCreateWindow(
282 const GURL& opener_url, 282 const GURL& opener_url,
283 const GURL& opener_top_level_frame_url, 283 const GURL& opener_top_level_frame_url,
284 const GURL& source_origin, 284 const GURL& source_origin,
285 WindowContainerType container_type, 285 WindowContainerType container_type,
286 const GURL& target_url, 286 const GURL& target_url,
287 const Referrer& referrer, 287 const Referrer& referrer,
288 const std::string& frame_name,
288 WindowOpenDisposition disposition, 289 WindowOpenDisposition disposition,
289 const blink::WebWindowFeatures& features, 290 const blink::WebWindowFeatures& features,
290 bool user_gesture, 291 bool user_gesture,
291 bool opener_suppressed, 292 bool opener_suppressed,
292 ResourceContext* context, 293 ResourceContext* context,
293 int render_process_id, 294 int render_process_id,
294 int opener_render_view_id, 295 int opener_render_view_id,
295 int opener_render_frame_id, 296 int opener_render_frame_id,
296 bool* no_javascript_access) { 297 bool* no_javascript_access) {
297 *no_javascript_access = false; 298 *no_javascript_access = false;
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 #if defined(VIDEO_HOLE) 423 #if defined(VIDEO_HOLE)
423 ExternalVideoSurfaceContainer* 424 ExternalVideoSurfaceContainer*
424 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( 425 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
425 WebContents* web_contents) { 426 WebContents* web_contents) {
426 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; 427 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348.";
427 return nullptr; 428 return nullptr;
428 } 429 }
429 #endif 430 #endif
430 431
431 } // namespace content 432 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698