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

Unified Diff: content/renderer/renderer_webkitplatformsupport_impl.h

Issue 10854245: In-te-grate hy-phen-ator to con-tent. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 3 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/renderer/renderer_webkitplatformsupport_impl.h
===================================================================
--- content/renderer/renderer_webkitplatformsupport_impl.h (revision 154648)
+++ content/renderer/renderer_webkitplatformsupport_impl.h (working copy)
@@ -18,6 +18,7 @@
namespace content {
class GamepadSharedMemoryReader;
+class Hyphenator;
}
namespace webkit_glue {
@@ -84,6 +85,11 @@
WebKit::WebPeerConnection00HandlerClient* client) OVERRIDE;
virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter(
WebKit::WebMediaStreamCenterClient* client) OVERRIDE;
+ virtual bool canHyphenate(const WebKit::WebString& locale) OVERRIDE;
+ virtual size_t computeLastHyphenLocation(const char16* characters,
+ size_t length,
+ size_t before_index,
+ const WebKit::WebString& locale) OVERRIDE;
// Disables the WebSandboxSupport implementation for testing.
// Tests that do not set up a full sandbox environment should call
@@ -132,6 +138,8 @@
scoped_ptr<WebKit::WebBlobRegistry> blob_registry_;
scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_;
+
+ scoped_ptr<content::Hyphenator> hyphenator_;
};
#endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
« no previous file with comments | « content/renderer/hyphenator/hyphenator_unittest.cc ('k') | content/renderer/renderer_webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698