| 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 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 // Disables IP Pooling within the networks stack (SPDY only). When a connection | 341 // Disables IP Pooling within the networks stack (SPDY only). When a connection |
| 342 // is needed for a domain which shares an IP with an existing connection, | 342 // is needed for a domain which shares an IP with an existing connection, |
| 343 // attempt to use the existing connection. | 343 // attempt to use the existing connection. |
| 344 const char kDisableIPPooling[] = "disable-ip-pooling"; | 344 const char kDisableIPPooling[] = "disable-ip-pooling"; |
| 345 | 345 |
| 346 // Disables Mouse Lock being permitted when the browser is not currently | 346 // Disables Mouse Lock being permitted when the browser is not currently |
| 347 // in tab fullscreen. | 347 // in tab fullscreen. |
| 348 const char kDisableNonFullscreenMouseLock[] = | 348 const char kDisableNonFullscreenMouseLock[] = |
| 349 "disable-non-fullscreen-mouse-lock"; | 349 "disable-non-fullscreen-mouse-lock"; |
| 350 | 350 |
| 351 // Avoid doing expensive animations upon login. | |
| 352 const char kDisableLoginAnimations[] = "disable-login-animations"; | |
| 353 | |
| 354 // Disables the menu on the NTP for accessing sessions from other devices. | 351 // Disables the menu on the NTP for accessing sessions from other devices. |
| 355 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu"; | 352 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu"; |
| 356 | 353 |
| 357 // Disable pop-up blocking. | 354 // Disable pop-up blocking. |
| 358 const char kDisablePopupBlocking[] = "disable-popup-blocking"; | 355 const char kDisablePopupBlocking[] = "disable-popup-blocking"; |
| 359 | 356 |
| 360 // Disable speculative TCP/IP preconnection. | 357 // Disable speculative TCP/IP preconnection. |
| 361 const char kDisablePreconnect[] = "disable-preconnect"; | 358 const char kDisablePreconnect[] = "disable-preconnect"; |
| 362 | 359 |
| 363 // Normally when the user attempts to navigate to a page that was the result of | 360 // Normally when the user attempts to navigate to a page that was the result of |
| (...skipping 983 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1347 | 1344 |
| 1348 // Disables wallpaper boot animation (except of OOBE case). | 1345 // Disables wallpaper boot animation (except of OOBE case). |
| 1349 const char kDisableBootAnimation[] = "disable-boot-animation"; | 1346 const char kDisableBootAnimation[] = "disable-boot-animation"; |
| 1350 | 1347 |
| 1351 // Disables gdata content provider. | 1348 // Disables gdata content provider. |
| 1352 const char kDisableGData[] = "disable-gdata"; | 1349 const char kDisableGData[] = "disable-gdata"; |
| 1353 | 1350 |
| 1354 // Disables new WebRTC implementation of user image picker. | 1351 // Disables new WebRTC implementation of user image picker. |
| 1355 const char kDisableHtml5Camera[] = "disable-html5-camera"; | 1352 const char kDisableHtml5Camera[] = "disable-html5-camera"; |
| 1356 | 1353 |
| 1354 // Avoid doing expensive animations upon login. |
| 1355 const char kDisableLoginAnimations[] = "disable-login-animations"; |
| 1356 |
| 1357 // Disables new OOBE/sign in design. | 1357 // Disables new OOBE/sign in design. |
| 1358 const char kDisableNewOobe[] = "disable-new-oobe"; | 1358 const char kDisableNewOobe[] = "disable-new-oobe"; |
| 1359 | 1359 |
| 1360 // Avoid doing animations upon oobe. |
| 1361 const char kDisableOobeAnimation[] = "disable-oobe-animation"; |
| 1362 |
| 1360 // Enables touchpad three-finger-click as middle button. | 1363 // Enables touchpad three-finger-click as middle button. |
| 1361 const char kEnableTouchpadThreeFingerClick[] | 1364 const char kEnableTouchpadThreeFingerClick[] |
| 1362 = "touchpad-enable-three-finger-click"; | 1365 = "touchpad-enable-three-finger-click"; |
| 1363 | 1366 |
| 1364 // Skips OAuth part of ChromeOS login process. | 1367 // Skips OAuth part of ChromeOS login process. |
| 1365 const char kSkipOAuthLogin[] = "skip-oauth-login"; | 1368 const char kSkipOAuthLogin[] = "skip-oauth-login"; |
| 1366 | 1369 |
| 1367 // Enables device policy support on ChromeOS. | 1370 // Enables device policy support on ChromeOS. |
| 1368 const char kEnableDevicePolicy[] = "enable-device-policy"; | 1371 const char kEnableDevicePolicy[] = "enable-device-policy"; |
| 1369 | 1372 |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1549 | 1552 |
| 1550 // ----------------------------------------------------------------------------- | 1553 // ----------------------------------------------------------------------------- |
| 1551 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1554 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1552 // | 1555 // |
| 1553 // You were going to just dump your switches here, weren't you? Instead, please | 1556 // You were going to just dump your switches here, weren't you? Instead, please |
| 1554 // put them in alphabetical order above, or in order inside the appropriate | 1557 // put them in alphabetical order above, or in order inside the appropriate |
| 1555 // ifdef at the bottom. The order should match the header. | 1558 // ifdef at the bottom. The order should match the header. |
| 1556 // ----------------------------------------------------------------------------- | 1559 // ----------------------------------------------------------------------------- |
| 1557 | 1560 |
| 1558 } // namespace switches | 1561 } // namespace switches |
| OLD | NEW |