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 1006 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1370 | 1367 |
1371 #if defined(OS_CHROMEOS) | 1368 #if defined(OS_CHROMEOS) |
1372 // When wallpaper boot animation is not disabled this switch | 1369 // When wallpaper boot animation is not disabled this switch |
1373 // is used to override OOBE/sign in WebUI init type. | 1370 // is used to override OOBE/sign in WebUI init type. |
1374 // Possible values: parallel|postpone. Default: parallel. | 1371 // Possible values: parallel|postpone. Default: parallel. |
1375 const char kAshWebUIInit[] = "ash-webui-init"; | 1372 const char kAshWebUIInit[] = "ash-webui-init"; |
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 |
1377 // Avoid doing expensive animations upon login. | |
1378 const char kDisableLoginAnimations[] = "disable-login-animations"; | |
1379 | |
1380 // Avoid doing animations upon oobe. | |
1381 const char kDisableOobeAnimation[] = "disable-oobe-animation"; | |
Ivan Korotkov
2012/08/15 11:01:28
Align by =, please.
Dmitry Polukhin
2012/08/15 12:13:31
Done.
| |
1382 | |
1380 // Disables gdata content provider. | 1383 // Disables gdata content provider. |
1381 const char kDisableGData[] = "disable-gdata"; | 1384 const char kDisableGData[] = "disable-gdata"; |
1382 | 1385 |
1383 // Disables new WebRTC implementation of user image picker. | 1386 // Disables new WebRTC implementation of user image picker. |
1384 const char kDisableHtml5Camera[] = "disable-html5-camera"; | 1387 const char kDisableHtml5Camera[] = "disable-html5-camera"; |
1385 | 1388 |
1386 // Disables new OOBE/sign in design. | 1389 // Disables new OOBE/sign in design. |
1387 const char kDisableNewOobe[] = "disable-new-oobe"; | 1390 const char kDisableNewOobe[] = "disable-new-oobe"; |
1388 | 1391 |
1389 // Enables touchpad three-finger-click as middle button. | 1392 // Enables touchpad three-finger-click as middle button. |
(...skipping 188 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 |