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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 const char kDisableIPv6[] = "disable-ipv6"; | 267 const char kDisableIPv6[] = "disable-ipv6"; |
268 | 268 |
269 // Disable the behavior that the second click on a launcher item (the click when | 269 // Disable the behavior that the second click on a launcher item (the click when |
270 // the item is already active) minimizes the item. | 270 // the item is already active) minimizes the item. |
271 const char kDisableMinimizeOnSecondLauncherItemClick[] = | 271 const char kDisableMinimizeOnSecondLauncherItemClick[] = |
272 "disable-minimize-on-second-launcher-item-click"; | 272 "disable-minimize-on-second-launcher-item-click"; |
273 | 273 |
274 // Disables the menu on the NTP for accessing sessions from other devices. | 274 // Disables the menu on the NTP for accessing sessions from other devices. |
275 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu"; | 275 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu"; |
276 | 276 |
| 277 // Disables the Material Design NTP. |
| 278 const char kDisableMaterialDesignNTP[] = "disable-material-design-ntp"; |
| 279 |
277 // Disable auto-reload of error pages if offline. | 280 // Disable auto-reload of error pages if offline. |
278 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; | 281 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; |
279 | 282 |
280 // Disable only auto-reloading error pages when the tab is visible. | 283 // Disable only auto-reloading error pages when the tab is visible. |
281 const char kDisableOfflineAutoReloadVisibleOnly[] = | 284 const char kDisableOfflineAutoReloadVisibleOnly[] = |
282 "disable-offline-auto-reload-visible-only"; | 285 "disable-offline-auto-reload-visible-only"; |
283 | 286 |
284 // Disable the origin chip. | 287 // Disable the origin chip. |
285 const char kDisableOriginChip[] = "disable-origin-chip"; | 288 const char kDisableOriginChip[] = "disable-origin-chip"; |
286 | 289 |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 // Enables experimentation with launching ephemeral apps via hyperlinks. | 481 // Enables experimentation with launching ephemeral apps via hyperlinks. |
479 const char kEnableLinkableEphemeralApps[] = "enable-linkable-ephemeral-apps"; | 482 const char kEnableLinkableEphemeralApps[] = "enable-linkable-ephemeral-apps"; |
480 | 483 |
481 // Runs the Native Client inside the renderer process and enables GPU plugin | 484 // Runs the Native Client inside the renderer process and enables GPU plugin |
482 // (internally adds lEnableGpuPlugin to the command line). | 485 // (internally adds lEnableGpuPlugin to the command line). |
483 const char kEnableNaCl[] = "enable-nacl"; | 486 const char kEnableNaCl[] = "enable-nacl"; |
484 | 487 |
485 // Enables the network-related benchmarking extensions. | 488 // Enables the network-related benchmarking extensions. |
486 const char kEnableNetBenchmarking[] = "enable-net-benchmarking"; | 489 const char kEnableNetBenchmarking[] = "enable-net-benchmarking"; |
487 | 490 |
| 491 // Enables the Material Design NTP. |
| 492 const char kEnableMaterialDesignNTP[] = "enable-material-design-ntp"; |
| 493 |
488 // Enables NPN with HTTP. It means NPN is enabled but SPDY won't be used. | 494 // Enables NPN with HTTP. It means NPN is enabled but SPDY won't be used. |
489 // HTTP is still used for all requests. | 495 // HTTP is still used for all requests. |
490 const char kEnableNpnHttpOnly[] = "enable-npn-http"; | 496 const char kEnableNpnHttpOnly[] = "enable-npn-http"; |
491 | 497 |
492 // Enable auto-reload of error pages if offline. | 498 // Enable auto-reload of error pages if offline. |
493 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; | 499 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; |
494 | 500 |
495 // Only auto-reload error pages when the tab is visible. | 501 // Only auto-reload error pages when the tab is visible. |
496 const char kEnableOfflineAutoReloadVisibleOnly[] = | 502 const char kEnableOfflineAutoReloadVisibleOnly[] = |
497 "enable-offline-auto-reload-visible-only"; | 503 "enable-offline-auto-reload-visible-only"; |
(...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1377 | 1383 |
1378 // ----------------------------------------------------------------------------- | 1384 // ----------------------------------------------------------------------------- |
1379 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1385 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1380 // | 1386 // |
1381 // You were going to just dump your switches here, weren't you? Instead, please | 1387 // You were going to just dump your switches here, weren't you? Instead, please |
1382 // put them in alphabetical order above, or in order inside the appropriate | 1388 // put them in alphabetical order above, or in order inside the appropriate |
1383 // ifdef at the bottom. The order should match the header. | 1389 // ifdef at the bottom. The order should match the header. |
1384 // ----------------------------------------------------------------------------- | 1390 // ----------------------------------------------------------------------------- |
1385 | 1391 |
1386 } // namespace switches | 1392 } // namespace switches |
OLD | NEW |