| 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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 } | 274 } |
| 275 | 275 |
| 276 bool ContentBrowserClient::AllowPepperSocketAPI( | 276 bool ContentBrowserClient::AllowPepperSocketAPI( |
| 277 BrowserContext* browser_context, | 277 BrowserContext* browser_context, |
| 278 const GURL& url, | 278 const GURL& url, |
| 279 bool private_api, | 279 bool private_api, |
| 280 const SocketPermissionRequest& params) { | 280 const SocketPermissionRequest& params) { |
| 281 return false; | 281 return false; |
| 282 } | 282 } |
| 283 | 283 |
| 284 base::FilePath ContentBrowserClient::GetHyphenDictionaryDirectory() { | |
| 285 return base::FilePath(); | |
| 286 } | |
| 287 | |
| 288 ui::SelectFilePolicy* ContentBrowserClient::CreateSelectFilePolicy( | 284 ui::SelectFilePolicy* ContentBrowserClient::CreateSelectFilePolicy( |
| 289 WebContents* web_contents) { | 285 WebContents* web_contents) { |
| 290 return NULL; | 286 return NULL; |
| 291 } | 287 } |
| 292 | 288 |
| 293 LocationProvider* ContentBrowserClient::OverrideSystemLocationProvider() { | 289 LocationProvider* ContentBrowserClient::OverrideSystemLocationProvider() { |
| 294 return NULL; | 290 return NULL; |
| 295 } | 291 } |
| 296 | 292 |
| 297 #if defined(OS_WIN) | 293 #if defined(OS_WIN) |
| 298 const wchar_t* ContentBrowserClient::GetResourceDllName() { | 294 const wchar_t* ContentBrowserClient::GetResourceDllName() { |
| 299 return NULL; | 295 return NULL; |
| 300 } | 296 } |
| 301 #endif | 297 #endif |
| 302 | 298 |
| 303 #if defined(USE_NSS) | 299 #if defined(USE_NSS) |
| 304 crypto::CryptoModuleBlockingPasswordDelegate* | 300 crypto::CryptoModuleBlockingPasswordDelegate* |
| 305 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 301 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
| 306 return NULL; | 302 return NULL; |
| 307 } | 303 } |
| 308 #endif | 304 #endif |
| 309 | 305 |
| 310 } // namespace content | 306 } // namespace content |
| OLD | NEW |