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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 | 65 |
66 // Enable tracing events (see base/trace_event.h) | 66 // Enable tracing events (see base/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 extern const char kCheckLayoutTestSystemDeps[] = | 75 const char kCheckLayoutTestSystemDeps[] = "check-layout-test-sys-deps"; |
76 "check-layout-test-sys-deps"; | |
77 | 76 |
78 // 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 |
79 // to happen even if in layout test mode. | 78 // to happen even if in layout test mode. |
80 extern const char kGDB[] = "gdb"; | 79 const char kGDB[] = "gdb"; |
81 | 80 |
82 // Make functions of the Profiler class available in javascript | 81 // Make functions of the Profiler class available in javascript |
83 extern const char kProfiler[] = "profiler"; | 82 const char kProfiler[] = "profiler"; |
84 | 83 |
85 // Make functions of the HeapProfiler class available in javascript | 84 // Make functions of the HeapProfiler class available in javascript |
86 extern const char kHeapProfiler[] = "heap-profiler"; | 85 const char kHeapProfiler[] = "heap-profiler"; |
87 | 86 |
88 } // namespace test_shell | 87 } // namespace test_shell |
OLD | NEW |