Index: webkit/support/test_webkit_platform_support.h |
=================================================================== |
--- webkit/support/test_webkit_platform_support.h (revision 160091) |
+++ webkit/support/test_webkit_platform_support.h (working copy) |
@@ -25,6 +25,8 @@ |
class WebAudioDevice; |
} |
+typedef struct _HyphenDict HyphenDict; |
+ |
// An implementation of WebKitPlatformSupport for tests. |
class TestWebKitPlatformSupport : |
public webkit_glue::WebKitPlatformSupportImpl { |
@@ -120,6 +122,12 @@ |
WebKit::WebMediaStreamCenterClient* client) OVERRIDE; |
virtual WebKit::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( |
WebKit::WebRTCPeerConnectionHandlerClient* 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; |
private: |
TestShellWebMimeRegistryImpl mime_registry_; |
@@ -137,6 +145,7 @@ |
bool unit_test_mode_; |
WebKit::WebGamepads gamepad_data_; |
WebKit::Platform* shadow_platform_delegate_; |
+ HyphenDict* hyphen_dictionary_; |
#if defined(OS_WIN) || defined(OS_MACOSX) |
WebKit::WebThemeEngine* active_theme_engine_; |