OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 "chrome/common/chrome_switches.h" | 5 #include "chrome/common/chrome_switches.h" |
6 | 6 |
7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 const char kCrashOnHangThreads[] = "crash-on-hang-threads"; | 213 const char kCrashOnHangThreads[] = "crash-on-hang-threads"; |
214 | 214 |
215 // Causes the browser process to crash if the number of browser threads that | 215 // Causes the browser process to crash if the number of browser threads that |
216 // are responding is equal to the given number. | 216 // are responding is equal to the given number. |
217 // | 217 // |
218 // For example: | 218 // For example: |
219 // --crash-on-live=1 --> Crash if only one thread is responsive and all | 219 // --crash-on-live=1 --> Crash if only one thread is responsive and all |
220 // other threads are not responsive. | 220 // other threads are not responsive. |
221 const char kCrashOnLive[] = "crash-on-live"; | 221 const char kCrashOnLive[] = "crash-on-live"; |
222 | 222 |
223 // Enables recursive devtools frontend debugging by enforcing the | |
224 // "Inspect Element" context menu item in devtools windows. | |
225 const char kDebugDevTools[] = "debug-devtools"; | |
226 | |
227 // Path to the inspector files on disk (allows reloading of devtool files | 223 // Path to the inspector files on disk (allows reloading of devtool files |
228 // without having to restart the browser). | 224 // without having to restart the browser). |
229 const char kDebugDevToolsFrontend[] = "debug-devtools-frontend"; | 225 const char kDebugDevToolsFrontend[] = "debug-devtools-frontend"; |
230 | 226 |
231 // Enables a frame context menu item that toggles the frame in and out of glass | 227 // Enables a frame context menu item that toggles the frame in and out of glass |
232 // mode (Windows Vista and up only). | 228 // mode (Windows Vista and up only). |
233 const char kDebugEnableFrameToggle[] = "debug-enable-frame-toggle"; | 229 const char kDebugEnableFrameToggle[] = "debug-enable-frame-toggle"; |
234 | 230 |
235 // Enables support to debug printing subsystem. | 231 // Enables support to debug printing subsystem. |
236 const char kDebugPrint[] = "debug-print"; | 232 const char kDebugPrint[] = "debug-print"; |
(...skipping 1315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1552 | 1548 |
1553 // ----------------------------------------------------------------------------- | 1549 // ----------------------------------------------------------------------------- |
1554 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1550 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1555 // | 1551 // |
1556 // You were going to just dump your switches here, weren't you? Instead, please | 1552 // You were going to just dump your switches here, weren't you? Instead, please |
1557 // put them in alphabetical order above, or in order inside the appropriate | 1553 // put them in alphabetical order above, or in order inside the appropriate |
1558 // ifdef at the bottom. The order should match the header. | 1554 // ifdef at the bottom. The order should match the header. |
1559 // ----------------------------------------------------------------------------- | 1555 // ----------------------------------------------------------------------------- |
1560 | 1556 |
1561 } // namespace switches | 1557 } // namespace switches |
OLD | NEW |