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 4c2deebdb3714606feecc19b955bb9146b8c7065..86756c78265ae82afcb211431d13ddd15a65f38f 100644 |
--- a/content/public/renderer/content_renderer_client.h |
+++ b/content/public/renderer/content_renderer_client.h |
@@ -27,6 +27,7 @@ class FilePath; |
namespace WebKit { |
class WebClipboard; |
class WebFrame; |
+class WebHyphenator; |
class WebMediaPlayerClient; |
class WebMediaStreamCenter; |
class WebMediaStreamCenterClient; |
@@ -139,6 +140,10 @@ class CONTENT_EXPORT ContentRendererClient { |
// returns NULL the content layer will handle clipboard interactions. |
virtual WebKit::WebClipboard* OverrideWebClipboard(); |
+ // Allows the embedder to override the WebKit::WebHyphenator used. If it |
+ // returns NULL the content layer will handle hyphenation. |
+ virtual WebKit::WebHyphenator* OverrideWebHyphenator(); |
+ |
// Returns true if the renderer process should schedule the idle handler when |
// all widgets are hidden. |
virtual bool RunIdleHandlerWhenWidgetsHidden(); |