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

Unified Diff: content/public/browser/content_browser_client.h

Issue 12589005: Implement web speech synthesis. (Closed) Base URL: http://git.chromium.org/chromium/src.git@webtts
Patch Set: Created 7 years, 9 months 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: content/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index af10346b14b42ac5bdff3fd5032e4bbf772b6171..46ea4c62ca1234072431fb3471474441281411bd 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -76,6 +76,7 @@ class RenderViewHostDelegateView;
class ResourceContext;
class SiteInstance;
class SpeechRecognitionManagerDelegate;
+class TtsDispatcherHostDelegate;
class WebContents;
class WebContentsViewDelegate;
class WebContentsViewPort;
@@ -428,6 +429,10 @@ class CONTENT_EXPORT ContentBrowserClient {
virtual SpeechRecognitionManagerDelegate*
GetSpeechRecognitionManagerDelegate();
+ // Allows the embedder to return a delegate for the TtsDispatcherHost.
+ // The delegate will be owned by the dispatcher. It's valid to return NULL.
+ virtual TtsDispatcherHostDelegate* GetTtsDispatcherHostDelegate();
+
// Getters for common objects.
virtual net::NetLog* GetNetLog();

Powered by Google App Engine
This is Rietveld 408576698