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

Unified Diff: webkit/support/test_webkit_platform_support.h

Issue 9380002: Add a mock-hyphenation functions. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 10 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 | « no previous file | webkit/support/test_webkit_platform_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/support/test_webkit_platform_support.h
===================================================================
--- webkit/support/test_webkit_platform_support.h (revision 121358)
+++ webkit/support/test_webkit_platform_support.h (working copy)
@@ -109,6 +109,14 @@
unsigned numberOfChannels, double sampleRate,
WebKit::WebAudioDevice::RenderCallback*) OVERRIDE;
+ // Returns whether we can support hyphenation for the given locale.
+ // TODO(hbono): Add OVERRIDE when WebKitPlatformSupport adds these methods.
+ virtual bool canHyphenate(const WebKit::WebString& locale);
+ virtual size_t lastHyphenLocation(const char16* characters,
+ size_t length,
+ size_t index,
+ const WebKit::WebString& locale);
+
virtual void sampleGamepads(WebKit::WebGamepads& data);
void setGamepadData(const WebKit::WebGamepads& data);
« no previous file with comments | « no previous file | webkit/support/test_webkit_platform_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698