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

Unified Diff: ui/app_list/views/speech_view.cc

Issue 149753002: Enables the 'hotword not listening' icon in the search box. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re-upload Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: ui/app_list/views/speech_view.cc
diff --git a/ui/app_list/views/speech_view.cc b/ui/app_list/views/speech_view.cc
index c6bad7c4549b49784b51a01cca22d7698f78adab..c9b37919ff1373e8840a4122582232bd44af54c3 100644
--- a/ui/app_list/views/speech_view.cc
+++ b/ui/app_list/views/speech_view.cc
@@ -209,7 +209,7 @@ void SpeechView::OnSpeechResult(const base::string16& result,
void SpeechView::OnSpeechRecognitionStateChanged(
SpeechRecognitionState new_state) {
int resource_id = IDR_APP_LIST_SPEECH_MIC_OFF;
- if (new_state == SPEECH_RECOGNITION_ON)
+ if (new_state == SPEECH_RECOGNITION_RECOGNIZING)
resource_id = IDR_APP_LIST_SPEECH_MIC_ON;
else if (new_state == SPEECH_RECOGNITION_IN_SPEECH)
resource_id = IDR_APP_LIST_SPEECH_MIC_RECORDING;
« chrome/browser/ui/app_list/app_list_view_delegate.cc ('K') | « ui/app_list/views/search_box_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698