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

Side by Side Diff: chromecast/browser/cast_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 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 #ifndef CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_
6 #define CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 content::WebContents* web_contents, 120 content::WebContents* web_contents,
121 net::SSLCertRequestInfo* cert_request_info, 121 net::SSLCertRequestInfo* cert_request_info,
122 std::unique_ptr<content::ClientCertificateDelegate> delegate) override; 122 std::unique_ptr<content::ClientCertificateDelegate> delegate) override;
123 bool CanCreateWindow( 123 bool CanCreateWindow(
124 const GURL& opener_url, 124 const GURL& opener_url,
125 const GURL& opener_top_level_frame_url, 125 const GURL& opener_top_level_frame_url,
126 const GURL& source_origin, 126 const GURL& source_origin,
127 WindowContainerType container_type, 127 WindowContainerType container_type,
128 const GURL& target_url, 128 const GURL& target_url,
129 const content::Referrer& referrer, 129 const content::Referrer& referrer,
130 const std::string& frame_name,
130 WindowOpenDisposition disposition, 131 WindowOpenDisposition disposition,
131 const blink::WebWindowFeatures& features, 132 const blink::WebWindowFeatures& features,
132 bool user_gesture, 133 bool user_gesture,
133 bool opener_suppressed, 134 bool opener_suppressed,
134 content::ResourceContext* context, 135 content::ResourceContext* context,
135 int render_process_id, 136 int render_process_id,
136 int opener_render_view_id, 137 int opener_render_view_id,
137 int opener_render_frame_id, 138 int opener_render_frame_id,
138 bool* no_javascript_access) override; 139 bool* no_javascript_access) override;
139 void RegisterInProcessMojoApplications( 140 void RegisterInProcessMojoApplications(
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 CastBrowserMainParts* cast_browser_main_parts_; 193 CastBrowserMainParts* cast_browser_main_parts_;
193 std::unique_ptr<URLRequestContextFactory> url_request_context_factory_; 194 std::unique_ptr<URLRequestContextFactory> url_request_context_factory_;
194 195
195 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); 196 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient);
196 }; 197 };
197 198
198 } // namespace shell 199 } // namespace shell
199 } // namespace chromecast 200 } // namespace chromecast
200 201
201 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ 202 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/test/data/popup_blocker/popup-framename.html ('k') | chromecast/browser/cast_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698