OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |