summaryrefslogtreecommitdiffstats
path: root/webkit/glue
diff options
context:
space:
mode:
authorerikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-12 00:51:10 +0000
committererikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-12 00:51:10 +0000
commit799edbdbd3aadc8044bccf4e10bf6a3ebfef1d6b (patch)
tree7003bbd2eddf2d5af5bd826279743eacb9b76030 /webkit/glue
parentb89e36066f99f22dca4c15724ba0b8331a946234 (diff)
downloadchromium_src-799edbdbd3aadc8044bccf4e10bf6a3ebfef1d6b.zip
chromium_src-799edbdbd3aadc8044bccf4e10bf6a3ebfef1d6b.tar.gz
chromium_src-799edbdbd3aadc8044bccf4e10bf6a3ebfef1d6b.tar.bz2
Add ChromiumBridge::isLayoutTestMode() and change references to webkit::IsLayoutTest() to use that instead.
Review URL: http://codereview.chromium.org/10804 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5242 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue')
-rw-r--r--webkit/glue/chromium_bridge_impl.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/webkit/glue/chromium_bridge_impl.cc b/webkit/glue/chromium_bridge_impl.cc
index 32f38a2..b11ab8d 100644
--- a/webkit/glue/chromium_bridge_impl.cc
+++ b/webkit/glue/chromium_bridge_impl.cc
@@ -202,6 +202,12 @@ String ChromiumBridge::computedDefaultLanguage() {
return webkit_glue::StdWStringToString(webkit_glue::GetWebKitLocale());
}
+// LayoutTestMode -------------------------------------------------------------
+
+bool ChromiumBridge::layoutTestMode() {
+ return webkit_glue::IsLayoutTestMode();
+}
+
// Screen ---------------------------------------------------------------------
int ChromiumBridge::screenDepth(Widget* widget) {