diff options
Diffstat (limited to 'WebKit/chromium/public/WebSpeechInputController.h')
-rw-r--r-- | WebKit/chromium/public/WebSpeechInputController.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/WebKit/chromium/public/WebSpeechInputController.h b/WebKit/chromium/public/WebSpeechInputController.h index 5408741..6ed546f 100644 --- a/WebKit/chromium/public/WebSpeechInputController.h +++ b/WebKit/chromium/public/WebSpeechInputController.h @@ -35,7 +35,9 @@ namespace WebKit { +class WebString; struct WebRect; +class WebString; // Provides an embedder API called by WebKit. class WebSpeechInputController { @@ -43,7 +45,7 @@ public: // Starts speech recognition. Speech will get recorded until the endpointer detects silence, // runs to the limit or stopRecording is called. Progress indications and the recognized // text are returned via the listener interface. - virtual bool startRecognition(int requestId, const WebRect&) + virtual bool startRecognition(int requestId, const WebRect& elementRect, const WebString& language, const WebString& grammar) { WEBKIT_ASSERT_NOT_REACHED(); return false; |