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

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

Issue 23749006: Merge 222640 "Use the top-level URL for popup blocking." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1599/src/
Patch Set: Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/renderer/render_view_impl.cc » ('j') | 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 "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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 WebKit::WebNotificationPresenter::Permission 201 WebKit::WebNotificationPresenter::Permission
202 ContentBrowserClient::CheckDesktopNotificationPermission( 202 ContentBrowserClient::CheckDesktopNotificationPermission(
203 const GURL& source_origin, 203 const GURL& source_origin,
204 ResourceContext* context, 204 ResourceContext* context,
205 int render_process_id) { 205 int render_process_id) {
206 return WebKit::WebNotificationPresenter::PermissionAllowed; 206 return WebKit::WebNotificationPresenter::PermissionAllowed;
207 } 207 }
208 208
209 bool ContentBrowserClient::CanCreateWindow( 209 bool ContentBrowserClient::CanCreateWindow(
210 const GURL& opener_url, 210 const GURL& opener_url,
211 const GURL& opener_top_level_frame_url,
211 const GURL& source_origin, 212 const GURL& source_origin,
212 WindowContainerType container_type, 213 WindowContainerType container_type,
213 const GURL& target_url, 214 const GURL& target_url,
214 const content::Referrer& referrer, 215 const content::Referrer& referrer,
215 WindowOpenDisposition disposition, 216 WindowOpenDisposition disposition,
216 const WebKit::WebWindowFeatures& features, 217 const WebKit::WebWindowFeatures& features,
217 bool user_gesture, 218 bool user_gesture,
218 bool opener_suppressed, 219 bool opener_suppressed,
219 content::ResourceContext* context, 220 content::ResourceContext* context,
220 int render_process_id, 221 int render_process_id,
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 #endif 290 #endif
290 291
291 #if defined(USE_NSS) 292 #if defined(USE_NSS)
292 crypto::CryptoModuleBlockingPasswordDelegate* 293 crypto::CryptoModuleBlockingPasswordDelegate*
293 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 294 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
294 return NULL; 295 return NULL;
295 } 296 }
296 #endif 297 #endif
297 298
298 } // namespace content 299 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698