summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/test_shell.cc
diff options
context:
space:
mode:
authordarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-23 22:58:32 +0000
committerdarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-23 22:58:32 +0000
commitd418c9954cc31c077f90712ca26deba70a9179e1 (patch)
tree478339cdd4138fa9440eb97d686035c34eb0d692 /webkit/tools/test_shell/test_shell.cc
parent25e7d39fc079c890423dd793562c72f506187e15 (diff)
downloadchromium_src-d418c9954cc31c077f90712ca26deba70a9179e1.zip
chromium_src-d418c9954cc31c077f90712ca26deba70a9179e1.tar.gz
chromium_src-d418c9954cc31c077f90712ca26deba70a9179e1.tar.bz2
Kill PlatformScreenMac.mm
Replace it with an implementation of GetScreenInfoHelper like the other platforms. This webkit glue function is implemented in webkit_glue_mac.mm. Now that we have a GetScreenInfoHelper implemented for each platform, I moved the implementation of GetScreenInfo into test_shell.cc. R=dglazkov Review URL: http://codereview.chromium.org/16470 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7453 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/test_shell.cc')
-rw-r--r--webkit/tools/test_shell/test_shell.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/test_shell.cc b/webkit/tools/test_shell/test_shell.cc
index 47d29d5..cb2d437 100644
--- a/webkit/tools/test_shell/test_shell.cc
+++ b/webkit/tools/test_shell/test_shell.cc
@@ -576,6 +576,10 @@ bool SpellCheckWord(const wchar_t* word, int word_len,
return true;
}
+ScreenInfo GetScreenInfo(gfx::NativeView window) {
+ return GetScreenInfoHelper(window);
+}
+
bool IsPluginRunningInRendererProcess() {
return true;
}