summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/test_shell.h
diff options
context:
space:
mode:
authoryurys@chromium.org <yurys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-26 10:18:07 +0000
committeryurys@chromium.org <yurys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-26 10:18:07 +0000
commitf764d01e2084cb8db42f8e9103ffe98e2ea3a0a7 (patch)
treebc65452a580e87e3ad7a2b7bd8f50f0fa3fea8be /webkit/tools/test_shell/test_shell.h
parent75da04f8332f97e3cb4b770142689811e99951c8 (diff)
downloadchromium_src-f764d01e2084cb8db42f8e9103ffe98e2ea3a0a7.zip
chromium_src-f764d01e2084cb8db42f8e9103ffe98e2ea3a0a7.tar.gz
chromium_src-f764d01e2084cb8db42f8e9103ffe98e2ea3a0a7.tar.bz2
Allow running tests with enabled but closed Web Inspector. Corresponding WebKit change: https://bugs.webkit.org/show_bug.cgi?id=36610
Review URL: http://codereview.chromium.org/1359001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42745 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/test_shell.h')
-rw-r--r--webkit/tools/test_shell/test_shell.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/webkit/tools/test_shell/test_shell.h b/webkit/tools/test_shell/test_shell.h
index dd0dc2e..12227a0 100644
--- a/webkit/tools/test_shell/test_shell.h
+++ b/webkit/tools/test_shell/test_shell.h
@@ -370,8 +370,13 @@ private:
static HINSTANCE instance_handle_;
#endif
- // True when the app is being run using the --layout-tests switch.
+ // True if developer extras should be enabled.
+ static bool developer_extras_enabled_;
+
+ // Whether DevTools should be open before loading the page.
static bool inspector_test_mode_;
+
+ // True when the app is being run using the --layout-tests switch.
static bool layout_test_mode_;
// Default timeout in ms for file page loads when in layout test mode.