summaryrefslogtreecommitdiffstats
path: root/WebCore/page/SpeechInputClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/page/SpeechInputClient.h')
-rw-r--r--WebCore/page/SpeechInputClient.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/page/SpeechInputClient.h b/WebCore/page/SpeechInputClient.h
index 87ff7b9..d5fda17 100644
--- a/WebCore/page/SpeechInputClient.h
+++ b/WebCore/page/SpeechInputClient.h
@@ -35,6 +35,7 @@
namespace WebCore {
+class IntRect;
class SpeechInputListener;
// Provides an interface for SpeechInput to call into the embedder.
@@ -47,7 +48,7 @@ public:
virtual void setListener(SpeechInputListener*) = 0;
// Starts speech recognition and audio recording.
- virtual bool startRecognition(int requestId) = 0;
+ virtual bool startRecognition(int requestId, const IntRect& elementRect) = 0;
// Stops audio recording and performs recognition with the audio recorded until now
// (does not discard audio).