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

Side by Side Diff: chromecast/browser/cast_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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "chromecast/browser/cast_content_browser_client.h" 5 #include "chromecast/browser/cast_content_browser_client.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 } 385 }
386 } 386 }
387 387
388 bool CastContentBrowserClient::CanCreateWindow( 388 bool CastContentBrowserClient::CanCreateWindow(
389 const GURL& opener_url, 389 const GURL& opener_url,
390 const GURL& opener_top_level_frame_url, 390 const GURL& opener_top_level_frame_url,
391 const GURL& source_origin, 391 const GURL& source_origin,
392 WindowContainerType container_type, 392 WindowContainerType container_type,
393 const GURL& target_url, 393 const GURL& target_url,
394 const content::Referrer& referrer, 394 const content::Referrer& referrer,
395 const std::string& frame_name,
395 WindowOpenDisposition disposition, 396 WindowOpenDisposition disposition,
396 const blink::WebWindowFeatures& features, 397 const blink::WebWindowFeatures& features,
397 bool user_gesture, 398 bool user_gesture,
398 bool opener_suppressed, 399 bool opener_suppressed,
399 content::ResourceContext* context, 400 content::ResourceContext* context,
400 int render_process_id, 401 int render_process_id,
401 int opener_render_view_id, 402 int opener_render_view_id,
402 int opener_render_frame_id, 403 int opener_render_frame_id,
403 bool* no_javascript_access) { 404 bool* no_javascript_access) {
404 *no_javascript_access = true; 405 *no_javascript_access = true;
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 process_type, dumps_path, false /* upload */); 531 process_type, dumps_path, false /* upload */);
531 // StartUploaderThread() even though upload is diferred. 532 // StartUploaderThread() even though upload is diferred.
532 // Breakpad-related memory is freed in the uploader thread. 533 // Breakpad-related memory is freed in the uploader thread.
533 crash_handler->StartUploaderThread(); 534 crash_handler->StartUploaderThread();
534 return crash_handler; 535 return crash_handler;
535 } 536 }
536 #endif // !defined(OS_ANDROID) 537 #endif // !defined(OS_ANDROID)
537 538
538 } // namespace shell 539 } // namespace shell
539 } // namespace chromecast 540 } // namespace chromecast
OLDNEW
« no previous file with comments | « chromecast/browser/cast_content_browser_client.h ('k') | content/browser/renderer_host/render_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698