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

Unified Diff: content/public/browser/speech_recognition_manager.h

Issue 10663018: Changing tab closure handling logic in speech recognition code and cleaning bubble controller. (Spe… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Satish review + rebase 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: content/public/browser/speech_recognition_manager.h
diff --git a/content/public/browser/speech_recognition_manager.h b/content/public/browser/speech_recognition_manager.h
index 4b1ae721225a0e31a437d31deef4370ba2b69d59..a4f34d815c35fa576751334711e62fbda45c3955 100644
--- a/content/public/browser/speech_recognition_manager.h
+++ b/content/public/browser/speech_recognition_manager.h
@@ -49,6 +49,10 @@ class SpeechRecognitionManager {
virtual void AbortAllSessionsForListener(
SpeechRecognitionEventListener* listener) = 0;
+ // Aborts all sessions for a given renderer, without providing any result.
+ virtual void AbortAllSessionsForRenderer(
Satish 2012/07/03 15:11:57 should be 'ForTab' since you are also passing a re
Primiano Tucci (use gerrit) 2012/07/03 16:54:35 Wouldn't such rename exclude the background render
+ int render_process_id, int render_view_id) = 0;
+
// Stops audio capture for an existing session. The audio captured before the
// call will be processed, possibly ending up with a result.
virtual void StopAudioCaptureForSession(int session_id) = 0;

Powered by Google App Engine
This is Rietveld 408576698