| 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 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 | 10 |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 const char kCrashOnHangThreads[] = "crash-on-hang-threads"; | 138 const char kCrashOnHangThreads[] = "crash-on-hang-threads"; |
| 139 | 139 |
| 140 // Some platforms like ChromeOS default to empty desktop. | 140 // Some platforms like ChromeOS default to empty desktop. |
| 141 // Browser tests may need to add this switch so that at least one browser | 141 // Browser tests may need to add this switch so that at least one browser |
| 142 // instance is created on startup. | 142 // instance is created on startup. |
| 143 // TODO(nkostylev): Investigate if this switch could be removed. | 143 // TODO(nkostylev): Investigate if this switch could be removed. |
| 144 // (http://crbug.com/148675) | 144 // (http://crbug.com/148675) |
| 145 const char kCreateBrowserOnStartupForTests[] = | 145 const char kCreateBrowserOnStartupForTests[] = |
| 146 "create-browser-on-startup-for-tests"; | 146 "create-browser-on-startup-for-tests"; |
| 147 | 147 |
| 148 // Specifies the HTTP endpoint which will be used to serve |
| 149 // chrome-devtools://devtools/custom/<path> |
| 150 const char kCustomDevtoolsFrontend[] = "custom-devtools-frontend"; |
| 151 |
| 148 // Enables a frame context menu item that toggles the frame in and out of glass | 152 // Enables a frame context menu item that toggles the frame in and out of glass |
| 149 // mode (Windows Vista and up only). | 153 // mode (Windows Vista and up only). |
| 150 const char kDebugEnableFrameToggle[] = "debug-enable-frame-toggle"; | 154 const char kDebugEnableFrameToggle[] = "debug-enable-frame-toggle"; |
| 151 | 155 |
| 152 // Adds debugging entries such as Inspect Element to context menus of packed | 156 // Adds debugging entries such as Inspect Element to context menus of packed |
| 153 // apps. | 157 // apps. |
| 154 const char kDebugPackedApps[] = "debug-packed-apps"; | 158 const char kDebugPackedApps[] = "debug-packed-apps"; |
| 155 | 159 |
| 156 // Passes command line parameters to the DevTools front-end. | 160 // Passes command line parameters to the DevTools front-end. |
| 157 const char kDevToolsFlags[] = "devtools-flags"; | 161 const char kDevToolsFlags[] = "devtools-flags"; |
| (...skipping 1167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1325 | 1329 |
| 1326 // ----------------------------------------------------------------------------- | 1330 // ----------------------------------------------------------------------------- |
| 1327 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. | 1331 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. |
| 1328 // | 1332 // |
| 1329 // You were going to just dump your switches here, weren't you? Instead, please | 1333 // You were going to just dump your switches here, weren't you? Instead, please |
| 1330 // put them in alphabetical order above, or in order inside the appropriate | 1334 // put them in alphabetical order above, or in order inside the appropriate |
| 1331 // ifdef at the bottom. The order should match the header. | 1335 // ifdef at the bottom. The order should match the header. |
| 1332 // ----------------------------------------------------------------------------- | 1336 // ----------------------------------------------------------------------------- |
| 1333 | 1337 |
| 1334 } // namespace switches | 1338 } // namespace switches |
| OLD | NEW |