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

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: 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
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..eb1f4d5b8cc1aa36e32e62d5e56b06f14056f711 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 with the renderer that initiated the recognition.
+ 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(
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698