| 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 "chrome/browser/chrome_content_browser_client.h" | 5 #include "chrome/browser/chrome_content_browser_client.h" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 1241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1252 | 1252 |
| 1253 content::SpeechInputManagerDelegate* | 1253 content::SpeechInputManagerDelegate* |
| 1254 ChromeContentBrowserClient::GetSpeechInputManagerDelegate() { | 1254 ChromeContentBrowserClient::GetSpeechInputManagerDelegate() { |
| 1255 return new speech_input::ChromeSpeechInputManagerDelegate(); | 1255 return new speech_input::ChromeSpeechInputManagerDelegate(); |
| 1256 } | 1256 } |
| 1257 | 1257 |
| 1258 ui::Clipboard* ChromeContentBrowserClient::GetClipboard() { | 1258 ui::Clipboard* ChromeContentBrowserClient::GetClipboard() { |
| 1259 return g_browser_process->clipboard(); | 1259 return g_browser_process->clipboard(); |
| 1260 } | 1260 } |
| 1261 | 1261 |
| 1262 MHTMLGenerationManager* | |
| 1263 ChromeContentBrowserClient::GetMHTMLGenerationManager() { | |
| 1264 return g_browser_process->mhtml_generation_manager(); | |
| 1265 } | |
| 1266 | |
| 1267 net::NetLog* ChromeContentBrowserClient::GetNetLog() { | 1262 net::NetLog* ChromeContentBrowserClient::GetNetLog() { |
| 1268 return g_browser_process->net_log(); | 1263 return g_browser_process->net_log(); |
| 1269 } | 1264 } |
| 1270 | 1265 |
| 1271 AccessTokenStore* ChromeContentBrowserClient::CreateAccessTokenStore() { | 1266 AccessTokenStore* ChromeContentBrowserClient::CreateAccessTokenStore() { |
| 1272 return new ChromeAccessTokenStore(); | 1267 return new ChromeAccessTokenStore(); |
| 1273 } | 1268 } |
| 1274 | 1269 |
| 1275 bool ChromeContentBrowserClient::IsFastShutdownPossible() { | 1270 bool ChromeContentBrowserClient::IsFastShutdownPossible() { |
| 1276 const CommandLine& browser_command_line = *CommandLine::ForCurrentProcess(); | 1271 const CommandLine& browser_command_line = *CommandLine::ForCurrentProcess(); |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1534 #if defined(USE_NSS) | 1529 #if defined(USE_NSS) |
| 1535 crypto::CryptoModuleBlockingPasswordDelegate* | 1530 crypto::CryptoModuleBlockingPasswordDelegate* |
| 1536 ChromeContentBrowserClient::GetCryptoPasswordDelegate( | 1531 ChromeContentBrowserClient::GetCryptoPasswordDelegate( |
| 1537 const GURL& url) { | 1532 const GURL& url) { |
| 1538 return browser::NewCryptoModuleBlockingDialogDelegate( | 1533 return browser::NewCryptoModuleBlockingDialogDelegate( |
| 1539 browser::kCryptoModulePasswordKeygen, url.host()); | 1534 browser::kCryptoModulePasswordKeygen, url.host()); |
| 1540 } | 1535 } |
| 1541 #endif | 1536 #endif |
| 1542 | 1537 |
| 1543 } // namespace chrome | 1538 } // namespace chrome |
| OLD | NEW |