diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-17 06:21:57 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-17 06:21:57 +0000 |
commit | 8980a9c9e8e6b61e3d346e4662e00e0859637ca4 (patch) | |
tree | acb717e4f6ba9ce65ffd10b924ad20a7a7642795 /webkit/glue/webkitclient_impl.h | |
parent | 5e6e939f429310fb37d00421f728ecba11bc030e (diff) | |
download | chromium_src-8980a9c9e8e6b61e3d346e4662e00e0859637ca4.zip chromium_src-8980a9c9e8e6b61e3d346e4662e00e0859637ca4.tar.gz chromium_src-8980a9c9e8e6b61e3d346e4662e00e0859637ca4.tar.bz2 |
Introduce WebLocalizedString and queryLocalizedString methods
on WebKitClient. This allows glue/localized_strings.cc to move
into the WebKit API implementation.
BUG=16933
TEST=none
R=dglazkov
Review URL: http://codereview.chromium.org/149760
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20938 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webkitclient_impl.h')
-rw-r--r-- | webkit/glue/webkitclient_impl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/glue/webkitclient_impl.h b/webkit/glue/webkitclient_impl.h index 54f691c..b97d63a 100644 --- a/webkit/glue/webkitclient_impl.h +++ b/webkit/glue/webkitclient_impl.h @@ -28,6 +28,10 @@ class WebKitClientImpl : public WebKit::WebKitClient { virtual void traceEventBegin(const char* name, void* id, const char* extra); virtual void traceEventEnd(const char* name, void* id, const char* extra); virtual WebKit::WebData loadResource(const char* name); + virtual WebKit::WebString queryLocalizedString( + WebKit::WebLocalizedString::Name name); + virtual WebKit::WebString queryLocalizedString( + WebKit::WebLocalizedString::Name name, int numeric_value); virtual double currentTime(); virtual void setSharedTimerFiredFunction(void (*func)()); virtual void setSharedTimerFireTime(double fireTime); |