Index: chrome/renderer/render_view.h |
diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h |
index 82a293abcf979aa4d620b5c6b39897cd9e669f13..051ac4de2112ee7663572ee23ae2ae1101123579 100644 |
--- a/chrome/renderer/render_view.h |
+++ b/chrome/renderer/render_view.h |
@@ -67,6 +67,7 @@ class PepperDeviceTest; |
class PrintWebViewHelper; |
class RenderViewVisitor; |
class SkBitmap; |
+class SpeechInputDispatcher; |
class WebPluginDelegatePepper; |
class WebPluginDelegateProxy; |
struct ContextMenuMediaParams; |
@@ -107,6 +108,8 @@ class WebMediaPlayer; |
class WebMediaPlayerClient; |
class WebNode; |
class WebPlugin; |
+class WebSpeechInputController; |
+class WebSpeechInputListener; |
class WebStorageNamespace; |
class WebURLRequest; |
class WebView; |
@@ -413,6 +416,8 @@ class RenderView : public RenderWidget, |
virtual void didAcceptAutocompleteSuggestion( |
const WebKit::WebInputElement& element); |
virtual WebKit::WebGeolocationService* geolocationService(); |
+ virtual WebKit::WebSpeechInputController* speechInputController( |
+ WebKit::WebSpeechInputListener* listener); |
// WebKit::WebFrameClient implementation ------------------------------------- |
@@ -1206,6 +1211,9 @@ class RenderView : public RenderWidget, |
// maintains the cache and other features of the accessibility tree. |
scoped_ptr<WebKit::WebAccessibilityCache> accessibility_; |
+ // The speech dispatcher attached to this view, lazily initialized. |
+ scoped_ptr<SpeechInputDispatcher> speech_input_dispatcher_; |
+ |
// Misc ---------------------------------------------------------------------- |
// The current and pending file chooser completion objects. If the queue is |