OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "webkit/tools/test_shell/test_shell_switches.h" | 5 #include "webkit/tools/test_shell/test_shell_switches.h" |
6 | 6 |
7 namespace test_shell { | 7 namespace test_shell { |
8 | 8 |
9 // Suppresses all error dialogs when present. | 9 // Suppresses all error dialogs when present. |
10 const char kNoErrorDialogs[] = "noerrdialogs"; | 10 const char kNoErrorDialogs[] = "noerrdialogs"; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 | 51 |
52 // Don't record/playback events when using record & playback. | 52 // Don't record/playback events when using record & playback. |
53 const char kNoEvents[] = "no-events"; | 53 const char kNoEvents[] = "no-events"; |
54 | 54 |
55 // Dump stats table on exit. | 55 // Dump stats table on exit. |
56 const char kDumpStatsTable[] = "stats"; | 56 const char kDumpStatsTable[] = "stats"; |
57 | 57 |
58 // Use a specified cache directory. | 58 // Use a specified cache directory. |
59 const char kCacheDir[] = "cache-dir"; | 59 const char kCacheDir[] = "cache-dir"; |
60 | 60 |
61 // When being run through a memory profiler, trigger memory in use dumps at | |
62 // startup and just prior to shutdown. | |
63 const char kDebugMemoryInUse[] = "debug-memory-in-use"; | |
64 | |
65 // Enable cookies on the file:// scheme. --layout-tests also enables this. | 61 // Enable cookies on the file:// scheme. --layout-tests also enables this. |
66 const char kEnableFileCookies[] = "enable-file-cookies"; | 62 const char kEnableFileCookies[] = "enable-file-cookies"; |
67 | 63 |
68 // Allow scripts to close windows in all cases. | 64 // Allow scripts to close windows in all cases. |
69 const char kAllowScriptsToCloseWindows[] = "allow-scripts-to-close-windows"; | 65 const char kAllowScriptsToCloseWindows[] = "allow-scripts-to-close-windows"; |
70 | 66 |
71 // Test the system dependencies (themes, fonts, ...). When this flag is | 67 // Test the system dependencies (themes, fonts, ...). When this flag is |
72 // specified, the test shell will exit immediately with either 0 (success) or | 68 // specified, the test shell will exit immediately with either 0 (success) or |
73 // 1 (failure). Combining with other flags has no effect. | 69 // 1 (failure). Combining with other flags has no effect. |
74 const char kCheckLayoutTestSystemDeps[] = "check-layout-test-sys-deps"; | 70 const char kCheckLayoutTestSystemDeps[] = "check-layout-test-sys-deps"; |
75 | 71 |
76 // If set, we are running under GDB so allow a certain class of errors | 72 // If set, we are running under GDB so allow a certain class of errors |
77 // to happen even if in layout test mode. | 73 // to happen even if in layout test mode. |
78 const char kGDB[] = "gdb"; | 74 const char kGDB[] = "gdb"; |
79 | 75 |
80 // Make functions of the Profiler class available in javascript | 76 // Make functions of the Profiler class available in javascript |
81 const char kProfiler[] = "profiler"; | 77 const char kProfiler[] = "profiler"; |
82 | 78 |
83 // Make functions of the HeapProfiler class available in javascript | 79 // Make functions of the HeapProfiler class available in javascript |
84 const char kHeapProfiler[] = "heap-profiler"; | 80 const char kHeapProfiler[] = "heap-profiler"; |
85 | 81 |
86 const char kAllowExternalPages[] = "allow-external-pages"; | 82 const char kAllowExternalPages[] = "allow-external-pages"; |
87 | 83 |
88 const char kEnableAccel2DCanvas[] = "enable-accelerated-2d-canvas"; | 84 const char kEnableAccel2DCanvas[] = "enable-accelerated-2d-canvas"; |
89 | 85 |
90 const char kEnableAccelCompositing[] = "enable-accelerated-compositing"; | 86 const char kEnableAccelCompositing[] = "enable-accelerated-compositing"; |
91 | 87 |
92 } // namespace test_shell | 88 } // namespace test_shell |
OLD | NEW |