diff options
author | tasak@google.com <tasak@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-03 04:18:50 +0000 |
---|---|---|
committer | tasak@google.com <tasak@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-03 04:18:50 +0000 |
commit | 9469fc0d408c2dcbc3e50dfc4f2a0f24da46fdce (patch) | |
tree | da436bcb98ae52609dd0c23bf1034338e6c1757a /content/renderer/speech_recognition_dispatcher.h | |
parent | 054bd9d26eb1f945d4b7c18e4a30c8c5354bcda8 (diff) | |
download | chromium_src-9469fc0d408c2dcbc3e50dfc4f2a0f24da46fdce.zip chromium_src-9469fc0d408c2dcbc3e50dfc4f2a0f24da46fdce.tar.gz chromium_src-9469fc0d408c2dcbc3e50dfc4f2a0f24da46fdce.tar.bz2 |
Revert 170668
Needs to revert this because its WebKit patch was unrolled.
(See r136319, unreviewed, rolling out r136236).
> Update the Speech Api to support array(s) of result items
> instead of a single item at a time.
>
> BUG=143124
> TEST=Covered by content_unittests
>
> Review URL: https://chromiumcodereview.appspot.com/11421103
TBR=tommi@chromium.org
Review URL: https://codereview.chromium.org/11416310
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170701 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/speech_recognition_dispatcher.h')
-rw-r--r-- | content/renderer/speech_recognition_dispatcher.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/content/renderer/speech_recognition_dispatcher.h b/content/renderer/speech_recognition_dispatcher.h index e9dcb2b..6218b3f 100644 --- a/content/renderer/speech_recognition_dispatcher.h +++ b/content/renderer/speech_recognition_dispatcher.h @@ -8,7 +8,6 @@ #include <map> #include "base/basictypes.h" -#include "content/public/common/speech_recognition_result.h" #include "content/public/renderer/render_view_observer.h" #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebSpeechRecognitionHandle.h" @@ -48,8 +47,7 @@ class SpeechRecognitionDispatcher : public RenderViewObserver, void OnAudioEnded(int request_id); void OnErrorOccurred(int request_id, const SpeechRecognitionError& error); void OnRecognitionEnded(int request_id); - void OnResultsRetrieved(int request_id, - const SpeechRecognitionResults& result); + void OnResultRetrieved(int request_id, const SpeechRecognitionResult& result); int GetOrCreateIDForHandle(const WebKit::WebSpeechRecognitionHandle& handle); bool HandleExists(const WebKit::WebSpeechRecognitionHandle& handle); |