Index: chrome/browser/ui/app_list/search/search_controller.cc |
diff --git a/chrome/browser/ui/app_list/search/search_controller.cc b/chrome/browser/ui/app_list/search/search_controller.cc |
index 927847721f07b86111e10382d02c156aaf5b22b1..3efcc1e9f9fdfaa5d7d91311b5c6e8392fed107b 100644 |
--- a/chrome/browser/ui/app_list/search/search_controller.cc |
+++ b/chrome/browser/ui/app_list/search/search_controller.cc |
@@ -61,10 +61,13 @@ void SearchController::Init() { |
StartPageService* service = StartPageService::Get(profile_); |
if (service && service->GetSpeechRecognitionContents()) { |
search_box_->SetSpeechRecognitionButton( |
- scoped_ptr<SearchBoxModel::ButtonProperty>( |
- new SearchBoxModel::ButtonProperty( |
+ scoped_ptr<SearchBoxModel::SpeechButtonProperty>( |
+ new SearchBoxModel::SpeechButtonProperty( |
*bundle.GetImageSkiaNamed(IDR_OMNIBOX_MIC_SEARCH), |
l10n_util::GetStringUTF16( |
+ IDS_APP_LIST_HOTWORD_LISTENING), |
+ *bundle.GetImageSkiaNamed(IDR_APP_LIST_MIC_HOTWORD_OFF), |
+ l10n_util::GetStringUTF16( |
IDS_APP_LIST_START_SPEECH_RECOGNITION)))); |
} |