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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
263 // bugs if something isn't working properly in the presence of IPv6. This flag | 263 // bugs if something isn't working properly in the presence of IPv6. This flag |
264 // can be overidden by the "enable-ipv6" flag. | 264 // can be overidden by the "enable-ipv6" flag. |
265 const char kDisableIPv6[] = "disable-ipv6"; | 265 const char kDisableIPv6[] = "disable-ipv6"; |
266 | 266 |
267 // Disable the behavior that the second click on a launcher item (the click when | 267 // Disable the behavior that the second click on a launcher item (the click when |
268 // the item is already active) minimizes the item. | 268 // the item is already active) minimizes the item. |
269 const char kDisableMinimizeOnSecondLauncherItemClick[] = | 269 const char kDisableMinimizeOnSecondLauncherItemClick[] = |
270 "disable-minimize-on-second-launcher-item-click"; | 270 "disable-minimize-on-second-launcher-item-click"; |
271 | 271 |
272 // Disables the new bookmark app system. | 272 // Disables the new bookmark app system. |
273 const char kDisableNewBookmarkApps[] = "disable-new-bookmark-apps"; | 273 const char kDisableNewBookmarkApps[] = "disable-new-bookmark-apps"; |
274 | 274 |
275 // Disables the new offline error page generated by NetErrorHelper for ChromeOS | 275 // Disables the new offline error page generated by NetErrorHelper for ChromeOS |
276 // and instead uses the old error page generated by OfflineResourceThrottle. | 276 // and instead uses the old error page generated by OfflineResourceThrottle. |
277 const char kDisableNewOfflineErrorPage[] = "disable-new-offline-error-page"; | 277 const char kDisableNewOfflineErrorPage[] = "disable-new-offline-error-page"; |
278 | 278 |
279 // Disables the menu on the NTP for accessing sessions from other devices. | 279 // Disables the menu on the NTP for accessing sessions from other devices. |
280 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu"; | 280 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu"; |
281 | 281 |
282 // Disable auto-reload of error pages if offline. | 282 // Disable auto-reload of error pages if offline. |
283 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; | 283 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
457 // Enables experimentation with launching ephemeral apps via hyperlinks. | 457 // Enables experimentation with launching ephemeral apps via hyperlinks. |
458 const char kEnableLinkableEphemeralApps[] = "enable-linkable-ephemeral-apps"; | 458 const char kEnableLinkableEphemeralApps[] = "enable-linkable-ephemeral-apps"; |
459 | 459 |
460 // Enables the material design Settings feature. | 460 // Enables the material design Settings feature. |
461 const char kEnableMaterialDesignSettings[] = "enable-md-settings"; | 461 const char kEnableMaterialDesignSettings[] = "enable-md-settings"; |
462 | 462 |
463 // Runs the Native Client inside the renderer process and enables GPU plugin | 463 // Runs the Native Client inside the renderer process and enables GPU plugin |
464 // (internally adds lEnableGpuPlugin to the command line). | 464 // (internally adds lEnableGpuPlugin to the command line). |
465 const char kEnableNaCl[] = "enable-nacl"; | 465 const char kEnableNaCl[] = "enable-nacl"; |
466 | 466 |
467 // Enables the new bookmark app system. | |
468 const char kEnableNewBookmarkApps[] = "enable-new-bookmark-apps"; | |
Lei Zhang
2015/02/18 20:12:29
nit: equal sign is misaligned.
benwells
2015/02/18 20:26:54
Done.
| |
469 | |
467 // Enables the network-related benchmarking extensions. | 470 // Enables the network-related benchmarking extensions. |
468 const char kEnableNetBenchmarking[] = "enable-net-benchmarking"; | 471 const char kEnableNetBenchmarking[] = "enable-net-benchmarking"; |
469 | 472 |
470 // Enables NPN with HTTP. It means NPN is enabled but SPDY won't be used. | 473 // Enables NPN with HTTP. It means NPN is enabled but SPDY won't be used. |
471 // HTTP is still used for all requests. | 474 // HTTP is still used for all requests. |
472 const char kEnableNpnHttpOnly[] = "enable-npn-http"; | 475 const char kEnableNpnHttpOnly[] = "enable-npn-http"; |
473 | 476 |
474 // Enable auto-reload of error pages if offline. | 477 // Enable auto-reload of error pages if offline. |
475 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; | 478 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; |
476 | 479 |
(...skipping 905 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1382 | 1385 |
1383 // ----------------------------------------------------------------------------- | 1386 // ----------------------------------------------------------------------------- |
1384 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1387 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1385 // | 1388 // |
1386 // You were going to just dump your switches here, weren't you? Instead, please | 1389 // You were going to just dump your switches here, weren't you? Instead, please |
1387 // put them in alphabetical order above, or in order inside the appropriate | 1390 // put them in alphabetical order above, or in order inside the appropriate |
1388 // ifdef at the bottom. The order should match the header. | 1391 // ifdef at the bottom. The order should match the header. |
1389 // ----------------------------------------------------------------------------- | 1392 // ----------------------------------------------------------------------------- |
1390 | 1393 |
1391 } // namespace switches | 1394 } // namespace switches |
OLD | NEW |