OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 // Use a specified cache directory. | 56 // Use a specified cache directory. |
57 const char kCacheDir[] = "cache-dir"; | 57 const char kCacheDir[] = "cache-dir"; |
58 | 58 |
59 // When being run through a memory profiler, trigger memory in use dumps at | 59 // When being run through a memory profiler, trigger memory in use dumps at |
60 // startup and just prior to shutdown. | 60 // startup and just prior to shutdown. |
61 const char kDebugMemoryInUse[] = "debug-memory-in-use"; | 61 const char kDebugMemoryInUse[] = "debug-memory-in-use"; |
62 | 62 |
63 // Enable cookies on the file:// scheme. --layout-tests also enables this. | 63 // Enable cookies on the file:// scheme. --layout-tests also enables this. |
64 const char kEnableFileCookies[] = "enable-file-cookies"; | 64 const char kEnableFileCookies[] = "enable-file-cookies"; |
65 | 65 |
66 // Enable tracing events (see base/trace_event.h) | 66 // Enable tracing events (see base/debug/trace_event.h) |
67 const char kEnableTracing[] = "enable-tracing"; | 67 const char kEnableTracing[] = "enable-tracing"; |
68 | 68 |
69 // Allow scripts to close windows in all cases. | 69 // Allow scripts to close windows in all cases. |
70 const char kAllowScriptsToCloseWindows[] = "allow-scripts-to-close-windows"; | 70 const char kAllowScriptsToCloseWindows[] = "allow-scripts-to-close-windows"; |
71 | 71 |
72 // Test the system dependencies (themes, fonts, ...). When this flag is | 72 // Test the system dependencies (themes, fonts, ...). When this flag is |
73 // specified, the test shell will exit immediately with either 0 (success) or | 73 // specified, the test shell will exit immediately with either 0 (success) or |
74 // 1 (failure). Combining with other flags has no effect. | 74 // 1 (failure). Combining with other flags has no effect. |
75 const char kCheckLayoutTestSystemDeps[] = "check-layout-test-sys-deps"; | 75 const char kCheckLayoutTestSystemDeps[] = "check-layout-test-sys-deps"; |
76 | 76 |
77 // If set, we are running under GDB so allow a certain class of errors | 77 // If set, we are running under GDB so allow a certain class of errors |
78 // to happen even if in layout test mode. | 78 // to happen even if in layout test mode. |
79 const char kGDB[] = "gdb"; | 79 const char kGDB[] = "gdb"; |
80 | 80 |
81 // Make functions of the Profiler class available in javascript | 81 // Make functions of the Profiler class available in javascript |
82 const char kProfiler[] = "profiler"; | 82 const char kProfiler[] = "profiler"; |
83 | 83 |
84 // Make functions of the HeapProfiler class available in javascript | 84 // Make functions of the HeapProfiler class available in javascript |
85 const char kHeapProfiler[] = "heap-profiler"; | 85 const char kHeapProfiler[] = "heap-profiler"; |
86 | 86 |
87 const char kAllowExternalPages[] = "allow-external-pages"; | 87 const char kAllowExternalPages[] = "allow-external-pages"; |
88 | 88 |
89 const char kEnableAccel2DCanvas[] = "enable-accelerated-2d-canvas"; | 89 const char kEnableAccel2DCanvas[] = "enable-accelerated-2d-canvas"; |
90 | 90 |
91 const char kEnableAccelCompositing[] = "enable-accelerated-compositing"; | 91 const char kEnableAccelCompositing[] = "enable-accelerated-compositing"; |
92 | 92 |
93 } // namespace test_shell | 93 } // namespace test_shell |
OLD | NEW |