OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "webkit/tools/test_shell/test_shell_switches.h" | |
6 | |
7 namespace test_shell { | |
8 | |
9 // Suppresses all error dialogs when present. | |
10 const char kNoErrorDialogs[] = "noerrdialogs"; | |
11 | |
12 const char kCrashDumps[] = "crash-dumps"; // Enable crash dumps | |
13 // Dumps the full-heap instead of only stack. Used with kCrashDumps. | |
14 const char kCrashDumpsFulldump[] = "crash-dumps-fulldump"; | |
15 | |
16 // Causes the test_shell to run with a generic theme (part of layout_tests). | |
17 const char kGenericTheme[] = "generic-theme"; | |
18 | |
19 // This causes the test_shell to run with the classic theme. | |
20 // Passing --layout-tests enables this by default. | |
21 const char kClassicTheme[] = "classic-theme"; | |
22 | |
23 // This causes the test_shell to run with the new windows theming engine | |
24 // enabled. This is the default unless --layout-tests is specified. | |
25 const char kUxTheme[] = "ux-theme"; | |
26 | |
27 const char kStartupDialog[] = "testshell-startup-dialog"; | |
28 | |
29 // Enable the Windows dialogs for GP faults in the test shell. This allows makes | |
30 // it possible to attach a crashed test shell to a debugger. | |
31 const char kGPFaultErrorBox[] = "gp-fault-error-box"; | |
32 | |
33 // JavaScript flags passed to engine. If multiple loads has been specified this | |
34 // can be a list separated by commas. Each set of flags are passed to the engine | |
35 // in the corresponding load. | |
36 const char kJavaScriptFlags[] = "js-flags"; | |
37 | |
38 // Dump stats table on exit. | |
39 const char kDumpStatsTable[] = "stats"; | |
40 | |
41 // Use a specified cache directory. | |
42 const char kCacheDir[] = "cache-dir"; | |
43 | |
44 // Enable cookies on the file:// scheme. --layout-tests also enables this. | |
45 const char kEnableFileCookies[] = "enable-file-cookies"; | |
46 | |
47 // Allow scripts to close windows in all cases. | |
48 const char kAllowScriptsToCloseWindows[] = "allow-scripts-to-close-windows"; | |
49 | |
50 // Test the system dependencies (themes, fonts, ...). When this flag is | |
51 // specified, the test shell will exit immediately with either 0 (success) or | |
52 // 1 (failure). Combining with other flags has no effect. | |
53 const char kCheckLayoutTestSystemDeps[] = "check-layout-test-sys-deps"; | |
54 | |
55 // If set, we are running under GDB so allow a certain class of errors | |
56 // to happen even if in layout test mode. | |
57 const char kGDB[] = "gdb"; | |
58 | |
59 const char kAllowExternalPages[] = "allow-external-pages"; | |
60 | |
61 const char kEnableAccel2DCanvas[] = "enable-accelerated-2d-canvas"; | |
62 | |
63 const char kEnableAccelCompositing[] = "enable-accelerated-compositing"; | |
64 | |
65 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling"; | |
66 | |
67 } // namespace test_shell | |
OLD | NEW |