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

Side by Side Diff: chrome/browser/chrome_content_browser_client.cc

Issue 15012027: Android implementation of text-to-speech code for Web Speech Synthesis API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tts_multivoice
Patch Set: Fix clang error Created 7 years, 7 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
« no previous file with comments | « chrome/browser/android/chrome_jni_registrar.cc ('k') | chrome/browser/speech/tts_android.h » ('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 "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 702 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 new SearchProviderInstallStateMessageFilter(id, profile)); 713 new SearchProviderInstallStateMessageFilter(id, profile));
714 host->GetChannel()->AddFilter(new SpellCheckMessageFilter(id)); 714 host->GetChannel()->AddFilter(new SpellCheckMessageFilter(id));
715 #if defined(OS_MACOSX) 715 #if defined(OS_MACOSX)
716 host->GetChannel()->AddFilter(new SpellCheckMessageFilterMac(id)); 716 host->GetChannel()->AddFilter(new SpellCheckMessageFilterMac(id));
717 #endif 717 #endif
718 host->GetChannel()->AddFilter(new ChromeNetBenchmarkingMessageFilter( 718 host->GetChannel()->AddFilter(new ChromeNetBenchmarkingMessageFilter(
719 id, profile, context)); 719 id, profile, context));
720 host->GetChannel()->AddFilter( 720 host->GetChannel()->AddFilter(
721 new prerender::PrerenderMessageFilter(id, profile)); 721 new prerender::PrerenderMessageFilter(id, profile));
722 host->GetChannel()->AddFilter(new ValidationMessageMessageFilter(id)); 722 host->GetChannel()->AddFilter(new ValidationMessageMessageFilter(id));
723 #if !defined(OS_ANDROID)
724 host->GetChannel()->AddFilter(new TtsMessageFilter(id, profile)); 723 host->GetChannel()->AddFilter(new TtsMessageFilter(id, profile));
725 #endif
726 724
727 host->Send(new ChromeViewMsg_SetIsIncognitoProcess( 725 host->Send(new ChromeViewMsg_SetIsIncognitoProcess(
728 profile->IsOffTheRecord())); 726 profile->IsOffTheRecord()));
729 727
730 host->Send(new ChromeViewMsg_SetExtensionActivityLogEnabled( 728 host->Send(new ChromeViewMsg_SetExtensionActivityLogEnabled(
731 IsExtensionActivityLogEnabledForProfile(profile))); 729 IsExtensionActivityLogEnabledForProfile(profile)));
732 730
733 SendExtensionWebRequestStatusToHost(host); 731 SendExtensionWebRequestStatusToHost(host);
734 732
735 RendererContentSettingRules rules; 733 RendererContentSettingRules rules;
(...skipping 1579 matching lines...) Expand 10 before | Expand all | Expand 10 after
2315 #if defined(USE_NSS) 2313 #if defined(USE_NSS)
2316 crypto::CryptoModuleBlockingPasswordDelegate* 2314 crypto::CryptoModuleBlockingPasswordDelegate*
2317 ChromeContentBrowserClient::GetCryptoPasswordDelegate( 2315 ChromeContentBrowserClient::GetCryptoPasswordDelegate(
2318 const GURL& url) { 2316 const GURL& url) {
2319 return chrome::NewCryptoModuleBlockingDialogDelegate( 2317 return chrome::NewCryptoModuleBlockingDialogDelegate(
2320 chrome::kCryptoModulePasswordKeygen, url.host()); 2318 chrome::kCryptoModulePasswordKeygen, url.host());
2321 } 2319 }
2322 #endif 2320 #endif
2323 2321
2324 } // namespace chrome 2322 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/android/chrome_jni_registrar.cc ('k') | chrome/browser/speech/tts_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698