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

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

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 (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 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 // Returns true if the given page is allowed to open a window of the given 505 // Returns true if the given page is allowed to open a window of the given
506 // type. If true is returned, |no_javascript_access| will indicate whether 506 // type. If true is returned, |no_javascript_access| will indicate whether
507 // the window that is created should be scriptable/in the same process. 507 // the window that is created should be scriptable/in the same process.
508 // This is called on the IO thread. 508 // This is called on the IO thread.
509 virtual bool CanCreateWindow(const GURL& opener_url, 509 virtual bool CanCreateWindow(const GURL& opener_url,
510 const GURL& opener_top_level_frame_url, 510 const GURL& opener_top_level_frame_url,
511 const GURL& source_origin, 511 const GURL& source_origin,
512 WindowContainerType container_type, 512 WindowContainerType container_type,
513 const GURL& target_url, 513 const GURL& target_url,
514 const Referrer& referrer, 514 const Referrer& referrer,
515 const std::string& frame_name,
515 WindowOpenDisposition disposition, 516 WindowOpenDisposition disposition,
516 const blink::WebWindowFeatures& features, 517 const blink::WebWindowFeatures& features,
517 bool user_gesture, 518 bool user_gesture,
518 bool opener_suppressed, 519 bool opener_suppressed,
519 ResourceContext* context, 520 ResourceContext* context,
520 int render_process_id, 521 int render_process_id,
521 int opener_render_view_id, 522 int opener_render_view_id,
522 int opener_render_frame_id, 523 int opener_render_frame_id,
523 bool* no_javascript_access); 524 bool* no_javascript_access);
524 525
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
777 // Allows an embedder to provide its own ExternalVideoSurfaceContainer 778 // Allows an embedder to provide its own ExternalVideoSurfaceContainer
778 // implementation. Return nullptr to disable external surface video. 779 // implementation. Return nullptr to disable external surface video.
779 virtual ExternalVideoSurfaceContainer* 780 virtual ExternalVideoSurfaceContainer*
780 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); 781 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents);
781 #endif 782 #endif
782 }; 783 };
783 784
784 } // namespace content 785 } // namespace content
785 786
786 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 787 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698