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 1391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1402 SINGLE_VALUE_TYPE(switches::kEnableAccessibilityTabSwitcher)}, | 1402 SINGLE_VALUE_TYPE(switches::kEnableAccessibilityTabSwitcher)}, |
1403 {// TODO(dmazzoni): remove this flag when native android accessibility | 1403 {// TODO(dmazzoni): remove this flag when native android accessibility |
1404 // ships in the stable channel. http://crbug.com/356775 | 1404 // ships in the stable channel. http://crbug.com/356775 |
1405 "enable-accessibility-script-injection", | 1405 "enable-accessibility-script-injection", |
1406 IDS_FLAGS_ENABLE_ACCESSIBILITY_SCRIPT_INJECTION_NAME, | 1406 IDS_FLAGS_ENABLE_ACCESSIBILITY_SCRIPT_INJECTION_NAME, |
1407 IDS_FLAGS_ENABLE_ACCESSIBILITY_SCRIPT_INJECTION_DESCRIPTION, | 1407 IDS_FLAGS_ENABLE_ACCESSIBILITY_SCRIPT_INJECTION_DESCRIPTION, |
1408 kOsAndroid, | 1408 kOsAndroid, |
1409 // Java-only switch: ContentSwitches.ENABLE_ACCESSIBILITY_SCRIPT_INJECTION. | 1409 // Java-only switch: ContentSwitches.ENABLE_ACCESSIBILITY_SCRIPT_INJECTION. |
1410 SINGLE_VALUE_TYPE("enable-accessibility-script-injection")}, | 1410 SINGLE_VALUE_TYPE("enable-accessibility-script-injection")}, |
1411 #endif | 1411 #endif |
1412 {"disable-one-copy", | |
1413 IDS_FLAGS_DISABLE_ONE_COPY_NAME, | |
1414 IDS_FLAGS_DISABLE_ONE_COPY_DESCRIPTION, | |
1415 kOsAll, | |
1416 SINGLE_VALUE_TYPE(switches::kDisableOneCopy)}, | |
1417 {"enable-zero-copy", | 1412 {"enable-zero-copy", |
1418 IDS_FLAGS_ENABLE_ZERO_COPY_NAME, | 1413 IDS_FLAGS_ENABLE_ZERO_COPY_NAME, |
1419 IDS_FLAGS_ENABLE_ZERO_COPY_DESCRIPTION, | 1414 IDS_FLAGS_ENABLE_ZERO_COPY_DESCRIPTION, |
1420 kOsAll, | 1415 kOsAll, |
1421 SINGLE_VALUE_TYPE(switches::kEnableZeroCopy)}, | 1416 SINGLE_VALUE_TYPE(switches::kEnableZeroCopy)}, |
1422 #if defined(OS_CHROMEOS) | 1417 #if defined(OS_CHROMEOS) |
1423 {"enable-first-run-ui-transitions", | 1418 {"enable-first-run-ui-transitions", |
1424 IDS_FLAGS_ENABLE_FIRST_RUN_UI_TRANSITIONS_NAME, | 1419 IDS_FLAGS_ENABLE_FIRST_RUN_UI_TRANSITIONS_NAME, |
1425 IDS_FLAGS_ENABLE_FIRST_RUN_UI_TRANSITIONS_DESCRIPTION, | 1420 IDS_FLAGS_ENABLE_FIRST_RUN_UI_TRANSITIONS_DESCRIPTION, |
1426 kOsCrOS, | 1421 kOsCrOS, |
(...skipping 1229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2656 } | 2651 } |
2657 | 2652 |
2658 const Experiment* GetExperiments(size_t* count) { | 2653 const Experiment* GetExperiments(size_t* count) { |
2659 *count = num_experiments; | 2654 *count = num_experiments; |
2660 return experiments; | 2655 return experiments; |
2661 } | 2656 } |
2662 | 2657 |
2663 } // namespace testing | 2658 } // namespace testing |
2664 | 2659 |
2665 } // namespace about_flags | 2660 } // namespace about_flags |
OLD | NEW |