summaryrefslogtreecommitdiffstats
path: root/webkit/tools
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-17 06:21:57 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-17 06:21:57 +0000
commit8980a9c9e8e6b61e3d346e4662e00e0859637ca4 (patch)
treeacb717e4f6ba9ce65ffd10b924ad20a7a7642795 /webkit/tools
parent5e6e939f429310fb37d00421f728ecba11bc030e (diff)
downloadchromium_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/tools')
-rw-r--r--webkit/tools/test_shell/test_shell_webkit_init.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/webkit/tools/test_shell/test_shell_webkit_init.h b/webkit/tools/test_shell/test_shell_webkit_init.h
index 8b832ae..eafff01 100644
--- a/webkit/tools/test_shell/test_shell_webkit_init.h
+++ b/webkit/tools/test_shell/test_shell_webkit_init.h
@@ -71,6 +71,11 @@ class TestShellWebKitInit : public webkit_glue::WebKitClientImpl {
return NULL;
}
+ virtual bool getFileSize(const WebKit::WebString& path, long long& result) {
+ return file_util::GetFileSize(
+ FilePath(webkit_glue::WebStringToFilePathString(path)), &result);
+ }
+
virtual unsigned long long visitedLinkHash(const char* canonicalURL,
size_t length) {
return 0;
@@ -97,11 +102,6 @@ class TestShellWebKitInit : public webkit_glue::WebKitClientImpl {
virtual void prefetchHostName(const WebKit::WebString&) {
}
- virtual bool getFileSize(const WebKit::WebString& path, long long& result) {
- return file_util::GetFileSize(
- FilePath(webkit_glue::WebStringToFilePathString(path)), &result);
- }
-
virtual WebKit::WebData loadResource(const char* name) {
if (!strcmp(name, "deleteButton")) {
// Create a red 30x30 square.