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

Unified Diff: chrome/browser/speech/chrome_speech_recognition_manager_delegate.h

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: Turned context_name to string (instead of string16) 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
Index: chrome/browser/speech/chrome_speech_recognition_manager_delegate.h
diff --git a/chrome/browser/speech/chrome_speech_recognition_manager_delegate.h b/chrome/browser/speech/chrome_speech_recognition_manager_delegate.h
index f59e451ca377b740d2139111c90338e45c9f647a..5da38c264cb1ac19ba864518ba9989da6e1ba98c 100644
--- a/chrome/browser/speech/chrome_speech_recognition_manager_delegate.h
+++ b/chrome/browser/speech/chrome_speech_recognition_manager_delegate.h
@@ -59,6 +59,15 @@ class ChromeSpeechRecognitionManagerDelegate
private:
class OptionalRequestInfo;
+ // Shows the recognition tray icon for a given |context_name|, eventually
+ // with a notification balloon. The balloon is shown only once per profile
+ // for a given context_name. |render_process_id| is required to lookup the
+ // profile associated to the renderer that initiated the recognition.
hans 2012/06/11 15:52:15 s/to/with/
Primiano Tucci (use gerrit) 2012/06/11 17:03:22 Done.
+ static void ShowTrayIconOnUIThread(
+ const std::string& context_name,
+ int render_process_id,
+ scoped_refptr<SpeechRecognitionTrayIconController> tray_icon_controller);
+
// Checks for VIEW_TYPE_TAB_CONTENTS host in the UI thread and notifies back
// the result in the IO thread through |callback|.
static void CheckRenderViewType(

Powered by Google App Engine
This is Rietveld 408576698