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

Unified Diff: content/public/renderer/content_renderer_client.h

Issue 12589005: Implement web speech synthesis. (Closed) Base URL: http://git.chromium.org/chromium/src.git@webtts
Patch Set: Fix android build Created 7 years, 8 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
« no previous file with comments | « content/public/common/content_switches.cc ('k') | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/content_renderer_client.h
diff --git a/content/public/renderer/content_renderer_client.h b/content/public/renderer/content_renderer_client.h
index 84b6d5898ce63cf8b354d46f887bb65b95831917..8d3c7379d2b158d6e71b2ea15778ee6d0685fc28 100644
--- a/content/public/renderer/content_renderer_client.h
+++ b/content/public/renderer/content_renderer_client.h
@@ -37,6 +37,8 @@ class WebPlugin;
class WebPluginContainer;
class WebRTCPeerConnectionHandler;
class WebRTCPeerConnectionHandlerClient;
+class WebSpeechSynthesizer;
+class WebSpeechSynthesizerClient;
class WebThemeEngine;
class WebURLRequest;
struct WebPluginParams;
@@ -158,6 +160,11 @@ class CONTENT_EXPORT ContentRendererClient {
// the content layer will provide an engine.
virtual WebKit::WebThemeEngine* OverrideThemeEngine();
+ // Allows the embedder to override the WebSpeechSynthesizer used.
+ // If it returns NULL the content layer will provide an engine.
+ virtual WebKit::WebSpeechSynthesizer* OverrideSpeechSynthesizer(
+ WebKit::WebSpeechSynthesizerClient* client);
+
// Returns true if the renderer process should schedule the idle handler when
// all widgets are hidden.
virtual bool RunIdleHandlerWhenWidgetsHidden();
« no previous file with comments | « content/public/common/content_switches.cc ('k') | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698