From 32ea33253afbbdefd2680aa95ab5f57455272ae7 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Fri, 30 Nov 2012 16:58:06 +0100 Subject: Imported WebKit commit 6a4a1d32e1d779548c726c4826cba9d69eb87601 (http://svn.webkit.org/repository/webkit/trunk@136242) Final import for the Qt 5.x series that implements the QtWebKit / QtWebKitWidgets split Extra fixes will be cherry-picked. Change-Id: I844f1ebb99c6d6b75db31d6538c2acd628e79681 Reviewed-by: Simon Hausmann --- Source/WebKit/chromium/public/WebSpeechRecognizerClient.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Source/WebKit/chromium/public/WebSpeechRecognizerClient.h') diff --git a/Source/WebKit/chromium/public/WebSpeechRecognizerClient.h b/Source/WebKit/chromium/public/WebSpeechRecognizerClient.h index ebdc0c173..056c4d358 100644 --- a/Source/WebKit/chromium/public/WebSpeechRecognizerClient.h +++ b/Source/WebKit/chromium/public/WebSpeechRecognizerClient.h @@ -68,8 +68,17 @@ public: virtual void didEndAudio(const WebSpeechRecognitionHandle&) = 0; // To be called when the speech recognizer returns a result. + // FIXME: Remove this when we have moved over to only use the function below. virtual void didReceiveResult(const WebSpeechRecognitionHandle&, const WebSpeechRecognitionResult&, unsigned long resultIndex, const WebVector& resultHistory) = 0; + // To be called when the speech recognizer provides new results. + // - newFinalResults contains zero or more final results that are new since + // the last time the functions was called. + // - currentInterimResults contains zero or more inteirm results that + // replace the interim results that were reported the last time this + // function was called. + virtual void didReceiveResults(const WebSpeechRecognitionHandle&, const WebVector& newFinalResults, const WebVector& currentInterimResults) = 0; + // To be called when the speech recognizer returns a final result with no // recognizion hypothesis. virtual void didReceiveNoMatch(const WebSpeechRecognitionHandle&, const WebSpeechRecognitionResult&) = 0; -- cgit v1.2.1