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

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: Fresh update 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 5f8ffa3eeefd5428c7d8c9e5bb6aa2cae0a539f3..834907b9bb15323cd8a8c10d5945786defdeffdb 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -78,6 +78,7 @@ class RenderViewHostDelegateView;
class ResourceContext;
class SiteInstance;
class SpeechRecognitionManagerDelegate;
+class TtsDispatcherHostDelegate;
class WebContents;
class WebContentsViewDelegate;
class WebContentsViewPort;
@@ -424,6 +425,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