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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 | 206 |
207 // Triggers a plethora of diagnostic modes. | 207 // Triggers a plethora of diagnostic modes. |
208 const char kDiagnostics[] = "diagnostics"; | 208 const char kDiagnostics[] = "diagnostics"; |
209 | 209 |
210 // Sets the output format for diagnostic modes enabled by diagnostics flag. | 210 // Sets the output format for diagnostic modes enabled by diagnostics flag. |
211 const char kDiagnosticsFormat[] = "diagnostics-format"; | 211 const char kDiagnosticsFormat[] = "diagnostics-format"; |
212 | 212 |
213 // Tells the diagnostics mode to do the requested recovery step(s). | 213 // Tells the diagnostics mode to do the requested recovery step(s). |
214 const char kDiagnosticsRecovery[] = "diagnostics-recovery"; | 214 const char kDiagnosticsRecovery[] = "diagnostics-recovery"; |
215 | 215 |
| 216 // Disables showing apps windows after the first paint. Windows will be shown |
| 217 // sooner but will first display a blank white page. |
| 218 const char kDisableAppsShowOnFirstPaint[] = "disable-apps-show-on-first-paint"; |
| 219 |
216 // Disables the experimental asynchronous DNS client. | 220 // Disables the experimental asynchronous DNS client. |
217 const char kDisableAsyncDns[] = "disable-async-dns"; | 221 const char kDisableAsyncDns[] = "disable-async-dns"; |
218 | 222 |
219 // Disables CNAME lookup of the host when generating the Kerberos SPN for a | 223 // Disables CNAME lookup of the host when generating the Kerberos SPN for a |
220 // Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN for more | 224 // Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN for more |
221 // background. | 225 // background. |
222 const char kDisableAuthNegotiateCnameLookup[] = | 226 const char kDisableAuthNegotiateCnameLookup[] = |
223 "disable-auth-negotiate-cname-lookup"; | 227 "disable-auth-negotiate-cname-lookup"; |
224 | 228 |
225 // Disables background mode (background apps will not keep chrome running in | 229 // Disables background mode (background apps will not keep chrome running in |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 | 302 |
299 // Disable the behavior that the second click on a launcher item (the click when | 303 // Disable the behavior that the second click on a launcher item (the click when |
300 // the item is already active) minimizes the item. | 304 // the item is already active) minimizes the item. |
301 const char kDisableMinimizeOnSecondLauncherItemClick[] = | 305 const char kDisableMinimizeOnSecondLauncherItemClick[] = |
302 "disable-minimize-on-second-launcher-item-click"; | 306 "disable-minimize-on-second-launcher-item-click"; |
303 | 307 |
304 // Disables the menu on the NTP for accessing sessions from other devices. | 308 // Disables the menu on the NTP for accessing sessions from other devices. |
305 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu"; | 309 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu"; |
306 | 310 |
307 // Disable auto-reload of error pages if offline. | 311 // Disable auto-reload of error pages if offline. |
308 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; | 312 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; |
309 | 313 |
310 // Disable the origin chip. | 314 // Disable the origin chip. |
311 const char kDisableOriginChip[] = "disable-origin-chip"; | 315 const char kDisableOriginChip[] = "disable-origin-chip"; |
312 | 316 |
313 // Disable the setting to prompt the user for their OS account password before | 317 // Disable the setting to prompt the user for their OS account password before |
314 // revealing plaintext passwords in the password manager. | 318 // revealing plaintext passwords in the password manager. |
315 const char kDisablePasswordManagerReauthentication[] = | 319 const char kDisablePasswordManagerReauthentication[] = |
316 "disable-password-manager-reauthentication"; | 320 "disable-password-manager-reauthentication"; |
317 | 321 |
318 // Enables searching for people from the apps list search box. | 322 // Enables searching for people from the apps list search box. |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 | 443 |
440 // If set, the app list will be enabled as if enabled from CWS. | 444 // If set, the app list will be enabled as if enabled from CWS. |
441 const char kEnableAppList[] = "enable-app-list"; | 445 const char kEnableAppList[] = "enable-app-list"; |
442 | 446 |
443 // Enables the <window-controls> tag in platform apps. | 447 // Enables the <window-controls> tag in platform apps. |
444 const char kEnableAppWindowControls[] = "enable-app-window-controls"; | 448 const char kEnableAppWindowControls[] = "enable-app-window-controls"; |
445 | 449 |
446 // Enable OS integration for Chrome app file associations. | 450 // Enable OS integration for Chrome app file associations. |
447 const char kEnableAppsFileAssociations[] = "enable-apps-file-associations"; | 451 const char kEnableAppsFileAssociations[] = "enable-apps-file-associations"; |
448 | 452 |
449 // Show apps windows after the first paint. Windows will be shown significantly | |
450 // later for heavy apps loading resources synchronously but it will be | |
451 // insignificant for apps that load most of their resources asynchronously. | |
452 const char kEnableAppsShowOnFirstPaint[] = "enable-apps-show-on-first-paint"; | |
453 | |
454 // Enables the experimental asynchronous DNS client. | 453 // Enables the experimental asynchronous DNS client. |
455 const char kEnableAsyncDns[] = "enable-async-dns"; | 454 const char kEnableAsyncDns[] = "enable-async-dns"; |
456 | 455 |
457 // Enables the inclusion of non-standard ports when generating the Kerberos SPN | 456 // Enables the inclusion of non-standard ports when generating the Kerberos SPN |
458 // in response to a Negotiate challenge. See | 457 // in response to a Negotiate challenge. See |
459 // HttpAuthHandlerNegotiate::CreateSPN for more background. | 458 // HttpAuthHandlerNegotiate::CreateSPN for more background. |
460 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port"; | 459 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port"; |
461 | 460 |
462 // Enables the benchmarking extensions. | 461 // Enables the benchmarking extensions. |
463 const char kEnableBenchmarking[] = "enable-benchmarking"; | 462 const char kEnableBenchmarking[] = "enable-benchmarking"; |
(...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1420 | 1419 |
1421 // ----------------------------------------------------------------------------- | 1420 // ----------------------------------------------------------------------------- |
1422 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1421 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1423 // | 1422 // |
1424 // You were going to just dump your switches here, weren't you? Instead, please | 1423 // You were going to just dump your switches here, weren't you? Instead, please |
1425 // put them in alphabetical order above, or in order inside the appropriate | 1424 // put them in alphabetical order above, or in order inside the appropriate |
1426 // ifdef at the bottom. The order should match the header. | 1425 // ifdef at the bottom. The order should match the header. |
1427 // ----------------------------------------------------------------------------- | 1426 // ----------------------------------------------------------------------------- |
1428 | 1427 |
1429 } // namespace switches | 1428 } // namespace switches |
OLD | NEW |