diff options
author | John Reck <jreck@google.com> | 2010-11-04 12:00:17 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2010-11-09 11:35:04 -0800 |
commit | e14391e94c850b8bd03680c23b38978db68687a8 (patch) | |
tree | 3fed87e6620fecaf3edc7259ae58a11662bedcb2 /WebCore/page/SpeechInput.cpp | |
parent | 1bd705833a68f07850cf7e204b26f8d328d16951 (diff) | |
download | external_webkit-e14391e94c850b8bd03680c23b38978db68687a8.zip external_webkit-e14391e94c850b8bd03680c23b38978db68687a8.tar.gz external_webkit-e14391e94c850b8bd03680c23b38978db68687a8.tar.bz2 |
Merge Webkit at r70949: Initial merge by git.
Change-Id: I77b8645c083b5d0da8dba73ed01d4014aab9848e
Diffstat (limited to 'WebCore/page/SpeechInput.cpp')
-rw-r--r-- | WebCore/page/SpeechInput.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/WebCore/page/SpeechInput.cpp b/WebCore/page/SpeechInput.cpp index 234791b..f36ed4d 100644 --- a/WebCore/page/SpeechInput.cpp +++ b/WebCore/page/SpeechInput.cpp @@ -85,7 +85,7 @@ void SpeechInput::didCompleteRecognition(int listenerId) m_listeners.get(listenerId)->didCompleteRecognition(listenerId); } -void SpeechInput::setRecognitionResult(int listenerId, const String& result) +void SpeechInput::setRecognitionResult(int listenerId, const SpeechInputResultArray& result) { // Don't assert if not present as the element might have been removed by the page while // this event was on the way. @@ -93,10 +93,10 @@ void SpeechInput::setRecognitionResult(int listenerId, const String& result) m_listeners.get(listenerId)->setRecognitionResult(listenerId, result); } -bool SpeechInput::startRecognition(int listenerId, const IntRect& elementRect) +bool SpeechInput::startRecognition(int listenerId, const IntRect& elementRect, const AtomicString& language, const String& grammar) { ASSERT(m_listeners.contains(listenerId)); - return m_client->startRecognition(listenerId, elementRect); + return m_client->startRecognition(listenerId, elementRect, language, grammar); } void SpeechInput::stopRecording(int listenerId) |