| 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 737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 748 }, | 748 }, |
| 749 #endif | 749 #endif |
| 750 { | 750 { |
| 751 "show-autofill-type-predictions", | 751 "show-autofill-type-predictions", |
| 752 IDS_FLAGS_SHOW_AUTOFILL_TYPE_PREDICTIONS_NAME, | 752 IDS_FLAGS_SHOW_AUTOFILL_TYPE_PREDICTIONS_NAME, |
| 753 IDS_FLAGS_SHOW_AUTOFILL_TYPE_PREDICTIONS_DESCRIPTION, | 753 IDS_FLAGS_SHOW_AUTOFILL_TYPE_PREDICTIONS_DESCRIPTION, |
| 754 kOsAll, | 754 kOsAll, |
| 755 SINGLE_VALUE_TYPE(autofill::switches::kShowAutofillTypePredictions) | 755 SINGLE_VALUE_TYPE(autofill::switches::kShowAutofillTypePredictions) |
| 756 }, | 756 }, |
| 757 { | 757 { |
| 758 "enable-gesture-tap-highlight", | |
| 759 IDS_FLAGS_ENABLE_GESTURE_TAP_HIGHLIGHTING_NAME, | |
| 760 IDS_FLAGS_ENABLE_GESTURE_TAP_HIGHLIGHTING_DESCRIPTION, | |
| 761 kOsLinux | kOsCrOS | kOsWin | kOsAndroid, | |
| 762 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableGestureTapHighlight, | |
| 763 switches::kDisableGestureTapHighlight) | |
| 764 }, | |
| 765 { | |
| 766 "enable-smooth-scrolling", // FLAGS:RECORD_UMA | 758 "enable-smooth-scrolling", // FLAGS:RECORD_UMA |
| 767 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_NAME, | 759 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_NAME, |
| 768 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_DESCRIPTION, | 760 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_DESCRIPTION, |
| 769 // Can't expose the switch unless the code is compiled in. | 761 // Can't expose the switch unless the code is compiled in. |
| 770 // On by default for the Mac (different implementation in WebKit). | 762 // On by default for the Mac (different implementation in WebKit). |
| 771 kOsLinux, | 763 kOsLinux, |
| 772 SINGLE_VALUE_TYPE(switches::kEnableSmoothScrolling) | 764 SINGLE_VALUE_TYPE(switches::kEnableSmoothScrolling) |
| 773 }, | 765 }, |
| 774 #if defined(USE_AURA) || defined(OS_LINUX) | 766 #if defined(USE_AURA) || defined(OS_LINUX) |
| 775 { | 767 { |
| (...skipping 1713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2489 } | 2481 } |
| 2490 | 2482 |
| 2491 const Experiment* GetExperiments(size_t* count) { | 2483 const Experiment* GetExperiments(size_t* count) { |
| 2492 *count = num_experiments; | 2484 *count = num_experiments; |
| 2493 return experiments; | 2485 return experiments; |
| 2494 } | 2486 } |
| 2495 | 2487 |
| 2496 } // namespace testing | 2488 } // namespace testing |
| 2497 | 2489 |
| 2498 } // namespace about_flags | 2490 } // namespace about_flags |
| OLD | NEW |