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

Unified Diff: chrome/browser/speech/speech_recognition_tray_icon_controller.cc

Issue 10407120: Moving tray icon and notification balloon for background speech recognition sessions to ChromeSpeec… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed win issued ("interface" member clashes with a VS macro name, sigh) Created 8 years, 6 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
« no previous file with comments | « chrome/browser/speech/speech_input_extension_manager.cc ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/speech/speech_recognition_tray_icon_controller.cc
diff --git a/chrome/browser/speech/speech_recognition_tray_icon_controller.cc b/chrome/browser/speech/speech_recognition_tray_icon_controller.cc
index 47dcce74862d512e17fc61c4c693fac78745cafd..0206fd695613fbd514335be00d95e87c5f8ff8b3 100644
--- a/chrome/browser/speech/speech_recognition_tray_icon_controller.cc
+++ b/chrome/browser/speech/speech_recognition_tray_icon_controller.cc
@@ -91,8 +91,7 @@ void SpeechRecognitionTrayIconController::Show(const string16& tooltip,
SetVUMeterVolume(0.0f);
tray_icon_->SetToolTip(l10n_util::GetStringFUTF16(
IDS_SPEECH_INPUT_TRAY_TOOLTIP,
- tooltip,
- l10n_util::GetStringUTF16(IDS_PRODUCT_NAME)));
+ tooltip));
} else {
VLOG(1) << "This platform doesn't support notification icons.";
return;
@@ -192,8 +191,7 @@ void SpeechRecognitionTrayIconController::ShowNotificationBalloon(
IDS_SPEECH_INPUT_TRAY_BALLOON_TITLE);
string16 message = l10n_util::GetStringFUTF16(
IDS_SPEECH_INPUT_TRAY_BALLOON_BODY,
- text,
- l10n_util::GetStringUTF16(IDS_PRODUCT_NAME));
+ text);
tray_icon_->DisplayBalloon(*g_images.Get().balloon_icon(), title, message);
}
« no previous file with comments | « chrome/browser/speech/speech_input_extension_manager.cc ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698