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(); |