| 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/browser/about_flags.h" | 5 #include "chrome/browser/about_flags.h" |
| 6 | 6 |
| 7 #include <iterator> | 7 #include <iterator> |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 1436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1447 SINGLE_VALUE_TYPE(switches::kEnableAccessibilityTabSwitcher)}, | 1447 SINGLE_VALUE_TYPE(switches::kEnableAccessibilityTabSwitcher)}, |
| 1448 {// TODO(dmazzoni): remove this flag when native android accessibility | 1448 {// TODO(dmazzoni): remove this flag when native android accessibility |
| 1449 // ships in the stable channel. http://crbug.com/356775 | 1449 // ships in the stable channel. http://crbug.com/356775 |
| 1450 "enable-accessibility-script-injection", | 1450 "enable-accessibility-script-injection", |
| 1451 IDS_FLAGS_ENABLE_ACCESSIBILITY_SCRIPT_INJECTION_NAME, | 1451 IDS_FLAGS_ENABLE_ACCESSIBILITY_SCRIPT_INJECTION_NAME, |
| 1452 IDS_FLAGS_ENABLE_ACCESSIBILITY_SCRIPT_INJECTION_DESCRIPTION, | 1452 IDS_FLAGS_ENABLE_ACCESSIBILITY_SCRIPT_INJECTION_DESCRIPTION, |
| 1453 kOsAndroid, | 1453 kOsAndroid, |
| 1454 // Java-only switch: ContentSwitches.ENABLE_ACCESSIBILITY_SCRIPT_INJECTION. | 1454 // Java-only switch: ContentSwitches.ENABLE_ACCESSIBILITY_SCRIPT_INJECTION. |
| 1455 SINGLE_VALUE_TYPE("enable-accessibility-script-injection")}, | 1455 SINGLE_VALUE_TYPE("enable-accessibility-script-injection")}, |
| 1456 #endif | 1456 #endif |
| 1457 {"enable-one-copy", | 1457 {"disable-one-copy", |
| 1458 IDS_FLAGS_ONE_COPY_NAME, | 1458 IDS_FLAGS_DISABLE_ONE_COPY_NAME, |
| 1459 IDS_FLAGS_ONE_COPY_DESCRIPTION, | 1459 IDS_FLAGS_DISABLE_ONE_COPY_DESCRIPTION, |
| 1460 kOsAll, | 1460 kOsAll, |
| 1461 SINGLE_VALUE_TYPE(switches::kEnableOneCopy)}, | 1461 SINGLE_VALUE_TYPE(switches::kDisableOneCopy)}, |
| 1462 {"enable-zero-copy", | 1462 {"enable-zero-copy", |
| 1463 IDS_FLAGS_ZERO_COPY_NAME, | 1463 IDS_FLAGS_ENABLE_ZERO_COPY_NAME, |
| 1464 IDS_FLAGS_ZERO_COPY_DESCRIPTION, | 1464 IDS_FLAGS_ENABLE_ZERO_COPY_DESCRIPTION, |
| 1465 kOsAll, | 1465 kOsAll, |
| 1466 SINGLE_VALUE_TYPE(switches::kEnableZeroCopy)}, | 1466 SINGLE_VALUE_TYPE(switches::kEnableZeroCopy)}, |
| 1467 #if defined(OS_CHROMEOS) | 1467 #if defined(OS_CHROMEOS) |
| 1468 {"enable-first-run-ui-transitions", | 1468 {"enable-first-run-ui-transitions", |
| 1469 IDS_FLAGS_ENABLE_FIRST_RUN_UI_TRANSITIONS_NAME, | 1469 IDS_FLAGS_ENABLE_FIRST_RUN_UI_TRANSITIONS_NAME, |
| 1470 IDS_FLAGS_ENABLE_FIRST_RUN_UI_TRANSITIONS_DESCRIPTION, | 1470 IDS_FLAGS_ENABLE_FIRST_RUN_UI_TRANSITIONS_DESCRIPTION, |
| 1471 kOsCrOS, | 1471 kOsCrOS, |
| 1472 SINGLE_VALUE_TYPE(chromeos::switches::kEnableFirstRunUITransitions)}, | 1472 SINGLE_VALUE_TYPE(chromeos::switches::kEnableFirstRunUITransitions)}, |
| 1473 #endif | 1473 #endif |
| 1474 {"disable-new-bookmark-apps", | 1474 {"disable-new-bookmark-apps", |
| (...skipping 1296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2771 } | 2771 } |
| 2772 | 2772 |
| 2773 const Experiment* GetExperiments(size_t* count) { | 2773 const Experiment* GetExperiments(size_t* count) { |
| 2774 *count = num_experiments; | 2774 *count = num_experiments; |
| 2775 return experiments; | 2775 return experiments; |
| 2776 } | 2776 } |
| 2777 | 2777 |
| 2778 } // namespace testing | 2778 } // namespace testing |
| 2779 | 2779 |
| 2780 } // namespace about_flags | 2780 } // namespace about_flags |
| OLD | NEW |