| 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 "googleurl/src/gurl.h" | 8 #include "googleurl/src/gurl.h" |
| 9 #include "ui/gfx/image/image_skia.h" | 9 #include "ui/gfx/image/image_skia.h" |
| 10 | 10 |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 | 278 |
| 279 ui::SelectFilePolicy* ContentBrowserClient::CreateSelectFilePolicy( | 279 ui::SelectFilePolicy* ContentBrowserClient::CreateSelectFilePolicy( |
| 280 WebContents* web_contents) { | 280 WebContents* web_contents) { |
| 281 return NULL; | 281 return NULL; |
| 282 } | 282 } |
| 283 | 283 |
| 284 LocationProvider* ContentBrowserClient::OverrideSystemLocationProvider() { | 284 LocationProvider* ContentBrowserClient::OverrideSystemLocationProvider() { |
| 285 return NULL; | 285 return NULL; |
| 286 } | 286 } |
| 287 | 287 |
| 288 bool ContentBrowserClient::ShouldKillChildOnBadMessage() { |
| 289 return true; |
| 290 } |
| 291 |
| 288 #if defined(OS_WIN) | 292 #if defined(OS_WIN) |
| 289 const wchar_t* ContentBrowserClient::GetResourceDllName() { | 293 const wchar_t* ContentBrowserClient::GetResourceDllName() { |
| 290 return NULL; | 294 return NULL; |
| 291 } | 295 } |
| 292 #endif | 296 #endif |
| 293 | 297 |
| 294 #if defined(USE_NSS) | 298 #if defined(USE_NSS) |
| 295 crypto::CryptoModuleBlockingPasswordDelegate* | 299 crypto::CryptoModuleBlockingPasswordDelegate* |
| 296 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 300 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
| 297 return NULL; | 301 return NULL; |
| 298 } | 302 } |
| 299 #endif | 303 #endif |
| 300 | 304 |
| 301 } // namespace content | 305 } // namespace content |
| OLD | NEW |