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

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: Address feedback 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
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 701 matching lines...) Expand 10 before | Expand all | Expand 10 after
712 new SearchProviderInstallStateMessageFilter(id, profile)); 712 new SearchProviderInstallStateMessageFilter(id, profile));
713 host->GetChannel()->AddFilter(new SpellCheckMessageFilter(id)); 713 host->GetChannel()->AddFilter(new SpellCheckMessageFilter(id));
714 #if defined(OS_MACOSX) 714 #if defined(OS_MACOSX)
715 host->GetChannel()->AddFilter(new SpellCheckMessageFilterMac(id)); 715 host->GetChannel()->AddFilter(new SpellCheckMessageFilterMac(id));
716 #endif 716 #endif
717 host->GetChannel()->AddFilter(new ChromeNetBenchmarkingMessageFilter( 717 host->GetChannel()->AddFilter(new ChromeNetBenchmarkingMessageFilter(
718 id, profile, context)); 718 id, profile, context));
719 host->GetChannel()->AddFilter( 719 host->GetChannel()->AddFilter(
720 new prerender::PrerenderMessageFilter(id, profile)); 720 new prerender::PrerenderMessageFilter(id, profile));
721 host->GetChannel()->AddFilter(new ValidationMessageMessageFilter(id)); 721 host->GetChannel()->AddFilter(new ValidationMessageMessageFilter(id));
722 #if !defined(OS_ANDROID)
723 host->GetChannel()->AddFilter(new TtsMessageFilter(id, profile)); 722 host->GetChannel()->AddFilter(new TtsMessageFilter(id, profile));
724 #endif
725 723
726 host->Send(new ChromeViewMsg_SetIsIncognitoProcess( 724 host->Send(new ChromeViewMsg_SetIsIncognitoProcess(
727 profile->IsOffTheRecord())); 725 profile->IsOffTheRecord()));
728 726
729 host->Send(new ChromeViewMsg_SetExtensionActivityLogEnabled( 727 host->Send(new ChromeViewMsg_SetExtensionActivityLogEnabled(
730 IsExtensionActivityLogEnabledForProfile(profile))); 728 IsExtensionActivityLogEnabledForProfile(profile)));
731 729
732 SendExtensionWebRequestStatusToHost(host); 730 SendExtensionWebRequestStatusToHost(host);
733 731
734 RendererContentSettingRules rules; 732 RendererContentSettingRules rules;
(...skipping 1553 matching lines...) Expand 10 before | Expand all | Expand 10 after
2288 #if defined(USE_NSS) 2286 #if defined(USE_NSS)
2289 crypto::CryptoModuleBlockingPasswordDelegate* 2287 crypto::CryptoModuleBlockingPasswordDelegate*
2290 ChromeContentBrowserClient::GetCryptoPasswordDelegate( 2288 ChromeContentBrowserClient::GetCryptoPasswordDelegate(
2291 const GURL& url) { 2289 const GURL& url) {
2292 return chrome::NewCryptoModuleBlockingDialogDelegate( 2290 return chrome::NewCryptoModuleBlockingDialogDelegate(
2293 chrome::kCryptoModulePasswordKeygen, url.host()); 2291 chrome::kCryptoModulePasswordKeygen, url.host());
2294 } 2292 }
2295 #endif 2293 #endif
2296 2294
2297 } // namespace chrome 2295 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698