Index: public/web/WebFrameClient.h |
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h |
index ac548160e4dc6ac9a803065f82a765b7568c894c..f08c9f1312a71dff678e0604d6acd36c649bd5d1 100644 |
--- a/public/web/WebFrameClient.h |
+++ b/public/web/WebFrameClient.h |
@@ -83,6 +83,7 @@ class WebRTCPeerConnectionHandler; |
class WebScreenOrientationClient; |
class WebSharedWorker; |
class WebSharedWorkerClient; |
+class WebSpeechRecognizer; |
class WebString; |
class WebURL; |
class WebURLLoader; |
@@ -562,6 +563,7 @@ public: |
// Access the embedder API for (client-based) screen orientation client . |
virtual WebScreenOrientationClient* webScreenOrientationClient() { return 0; } |
+ |
// Accessibility ------------------------------------------------------- |
// Notifies embedder about an accessibility event. |
@@ -576,6 +578,7 @@ public: |
const WebAXObject& endObject, |
int endOffset) { } |
+ |
// ServiceWorker ------------------------------------------------------- |
// Whether the document associated with WebDataSource is controlled by the |
@@ -586,6 +589,12 @@ public: |
// associated with the WebDataSource. |
virtual int64_t serviceWorkerID(WebDataSource&) { return -1; } |
+ |
+ // Speech -------------------------------------------------------------- |
+ |
+ // Access the embedder API for speech recognition services. |
+ virtual WebSpeechRecognizer* speechRecognizer() { return 0; } |
+ |
protected: |
virtual ~WebFrameClient() { } |
}; |