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 1012 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1376 | 1373 |
1377 // Disables wallpaper boot animation (except of OOBE case). | 1374 // Disables wallpaper boot animation (except of OOBE case). |
1378 const char kDisableBootAnimation[] = "disable-boot-animation"; | 1375 const char kDisableBootAnimation[] = "disable-boot-animation"; |
1379 | 1376 |
1380 // Disables gdata content provider. | 1377 // Disables gdata content provider. |
1381 const char kDisableGData[] = "disable-gdata"; | 1378 const char kDisableGData[] = "disable-gdata"; |
1382 | 1379 |
1383 // Disables new WebRTC implementation of user image picker. | 1380 // Disables new WebRTC implementation of user image picker. |
1384 const char kDisableHtml5Camera[] = "disable-html5-camera"; | 1381 const char kDisableHtml5Camera[] = "disable-html5-camera"; |
1385 | 1382 |
| 1383 // Avoid doing expensive animations upon login. |
| 1384 const char kDisableLoginAnimations[] = "disable-login-animations"; |
| 1385 |
1386 // Disables new OOBE/sign in design. | 1386 // Disables new OOBE/sign in design. |
1387 const char kDisableNewOobe[] = "disable-new-oobe"; | 1387 const char kDisableNewOobe[] = "disable-new-oobe"; |
1388 | 1388 |
| 1389 // Avoid doing animations upon oobe. |
| 1390 const char kDisableOobeAnimation[] = "disable-oobe-animation"; |
| 1391 |
1389 // Enables touchpad three-finger-click as middle button. | 1392 // Enables touchpad three-finger-click as middle button. |
1390 const char kEnableTouchpadThreeFingerClick[] | 1393 const char kEnableTouchpadThreeFingerClick[] |
1391 = "touchpad-enable-three-finger-click"; | 1394 = "touchpad-enable-three-finger-click"; |
1392 | 1395 |
1393 // Skips OAuth part of ChromeOS login process. | 1396 // Skips OAuth part of ChromeOS login process. |
1394 const char kSkipOAuthLogin[] = "skip-oauth-login"; | 1397 const char kSkipOAuthLogin[] = "skip-oauth-login"; |
1395 | 1398 |
1396 // Enables device policy support on ChromeOS. | 1399 // Enables device policy support on ChromeOS. |
1397 const char kEnableDevicePolicy[] = "enable-device-policy"; | 1400 const char kEnableDevicePolicy[] = "enable-device-policy"; |
1398 | 1401 |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1578 | 1581 |
1579 // ----------------------------------------------------------------------------- | 1582 // ----------------------------------------------------------------------------- |
1580 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1583 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1581 // | 1584 // |
1582 // You were going to just dump your switches here, weren't you? Instead, please | 1585 // You were going to just dump your switches here, weren't you? Instead, please |
1583 // put them in alphabetical order above, or in order inside the appropriate | 1586 // put them in alphabetical order above, or in order inside the appropriate |
1584 // ifdef at the bottom. The order should match the header. | 1587 // ifdef at the bottom. The order should match the header. |
1585 // ----------------------------------------------------------------------------- | 1588 // ----------------------------------------------------------------------------- |
1586 | 1589 |
1587 } // namespace switches | 1590 } // namespace switches |
OLD | NEW |