| 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 1421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1432 SINGLE_VALUE_TYPE(switches::kEnableAccessibilityTabSwitcher)}, | 1432 SINGLE_VALUE_TYPE(switches::kEnableAccessibilityTabSwitcher)}, |
| 1433 {// TODO(dmazzoni): remove this flag when native android accessibility | 1433 {// TODO(dmazzoni): remove this flag when native android accessibility |
| 1434 // ships in the stable channel. http://crbug.com/356775 | 1434 // ships in the stable channel. http://crbug.com/356775 |
| 1435 "enable-accessibility-script-injection", | 1435 "enable-accessibility-script-injection", |
| 1436 IDS_FLAGS_ENABLE_ACCESSIBILITY_SCRIPT_INJECTION_NAME, | 1436 IDS_FLAGS_ENABLE_ACCESSIBILITY_SCRIPT_INJECTION_NAME, |
| 1437 IDS_FLAGS_ENABLE_ACCESSIBILITY_SCRIPT_INJECTION_DESCRIPTION, | 1437 IDS_FLAGS_ENABLE_ACCESSIBILITY_SCRIPT_INJECTION_DESCRIPTION, |
| 1438 kOsAndroid, | 1438 kOsAndroid, |
| 1439 // Java-only switch: ContentSwitches.ENABLE_ACCESSIBILITY_SCRIPT_INJECTION. | 1439 // Java-only switch: ContentSwitches.ENABLE_ACCESSIBILITY_SCRIPT_INJECTION. |
| 1440 SINGLE_VALUE_TYPE("enable-accessibility-script-injection")}, | 1440 SINGLE_VALUE_TYPE("enable-accessibility-script-injection")}, |
| 1441 #endif | 1441 #endif |
| 1442 {"disable-one-copy", | |
| 1443 IDS_FLAGS_DISABLE_ONE_COPY_NAME, | |
| 1444 IDS_FLAGS_DISABLE_ONE_COPY_DESCRIPTION, | |
| 1445 kOsAll, | |
| 1446 SINGLE_VALUE_TYPE(switches::kDisableOneCopy)}, | |
| 1447 {"enable-zero-copy", | 1442 {"enable-zero-copy", |
| 1448 IDS_FLAGS_ENABLE_ZERO_COPY_NAME, | 1443 IDS_FLAGS_ENABLE_ZERO_COPY_NAME, |
| 1449 IDS_FLAGS_ENABLE_ZERO_COPY_DESCRIPTION, | 1444 IDS_FLAGS_ENABLE_ZERO_COPY_DESCRIPTION, |
| 1450 kOsAll, | 1445 kOsAll, |
| 1451 SINGLE_VALUE_TYPE(switches::kEnableZeroCopy)}, | 1446 SINGLE_VALUE_TYPE(switches::kEnableZeroCopy)}, |
| 1452 #if defined(OS_CHROMEOS) | 1447 #if defined(OS_CHROMEOS) |
| 1453 {"enable-first-run-ui-transitions", | 1448 {"enable-first-run-ui-transitions", |
| 1454 IDS_FLAGS_ENABLE_FIRST_RUN_UI_TRANSITIONS_NAME, | 1449 IDS_FLAGS_ENABLE_FIRST_RUN_UI_TRANSITIONS_NAME, |
| 1455 IDS_FLAGS_ENABLE_FIRST_RUN_UI_TRANSITIONS_DESCRIPTION, | 1450 IDS_FLAGS_ENABLE_FIRST_RUN_UI_TRANSITIONS_DESCRIPTION, |
| 1456 kOsCrOS, | 1451 kOsCrOS, |
| (...skipping 1298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2755 } | 2750 } |
| 2756 | 2751 |
| 2757 const Experiment* GetExperiments(size_t* count) { | 2752 const Experiment* GetExperiments(size_t* count) { |
| 2758 *count = num_experiments; | 2753 *count = num_experiments; |
| 2759 return experiments; | 2754 return experiments; |
| 2760 } | 2755 } |
| 2761 | 2756 |
| 2762 } // namespace testing | 2757 } // namespace testing |
| 2763 | 2758 |
| 2764 } // namespace about_flags | 2759 } // namespace about_flags |
| OLD | NEW |