Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3300)

Unified Diff: public/web/WebFrameClient.h

Issue 636863002: Make SpeechRecognitionController per frame instead of per page. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() { }
};

Powered by Google App Engine
This is Rietveld 408576698