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

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: jochen review Created 8 years, 5 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..a9b55b1d98fd7d294d5ae3c9ce82c546a3355565 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 RenderView, without providing any result.
+ virtual void AbortAllSessionsForRenderView(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