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 867 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
878 SINGLE_VALUE_TYPE(switches::kEnableSpellingAutoCorrect) | 878 SINGLE_VALUE_TYPE(switches::kEnableSpellingAutoCorrect) |
879 }, | 879 }, |
880 #endif | 880 #endif |
881 { | 881 { |
882 "enable-scroll-prediction", | 882 "enable-scroll-prediction", |
883 IDS_FLAGS_ENABLE_SCROLL_PREDICTION_NAME, | 883 IDS_FLAGS_ENABLE_SCROLL_PREDICTION_NAME, |
884 IDS_FLAGS_ENABLE_SCROLL_PREDICTION_DESCRIPTION, | 884 IDS_FLAGS_ENABLE_SCROLL_PREDICTION_DESCRIPTION, |
885 kOsDesktop, | 885 kOsDesktop, |
886 SINGLE_VALUE_TYPE(switches::kEnableScrollPrediction) | 886 SINGLE_VALUE_TYPE(switches::kEnableScrollPrediction) |
887 }, | 887 }, |
888 #if defined(ENABLE_TOPCHROME_MD) | |
889 { | |
890 "top-chrome-md", | |
891 IDS_FLAGS_TOP_CHROME_MD, | |
892 IDS_FLAGS_TOP_CHROME_MD_DESCRIPTION, | |
893 kOsWin | kOsCrOS, | |
894 ENABLE_DISABLE_VALUE_TYPE( | |
bruthig
2015/05/11 17:12:20
How come you aren't using a tri-state flag with a
girard
2015/05/11 20:15:44
This _is_ a tri-state flag. It appears in the UI w
| |
895 switches::kTopChromeMDEnabled, | |
896 switches::kTopChromeMDDisabled) | |
897 }, | |
898 #endif | |
888 { | 899 { |
889 "touch-events", | 900 "touch-events", |
890 IDS_TOUCH_EVENTS_NAME, | 901 IDS_TOUCH_EVENTS_NAME, |
891 IDS_TOUCH_EVENTS_DESCRIPTION, | 902 IDS_TOUCH_EVENTS_DESCRIPTION, |
892 kOsDesktop, | 903 kOsDesktop, |
893 MULTI_VALUE_TYPE(kTouchEventsChoices) | 904 MULTI_VALUE_TYPE(kTouchEventsChoices) |
894 }, | 905 }, |
895 { | 906 { |
896 "disable-touch-adjustment", | 907 "disable-touch-adjustment", |
897 IDS_DISABLE_TOUCH_ADJUSTMENT_NAME, | 908 IDS_DISABLE_TOUCH_ADJUSTMENT_NAME, |
(...skipping 2062 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2960 } | 2971 } |
2961 | 2972 |
2962 const Experiment* GetExperiments(size_t* count) { | 2973 const Experiment* GetExperiments(size_t* count) { |
2963 *count = num_experiments; | 2974 *count = num_experiments; |
2964 return experiments; | 2975 return experiments; |
2965 } | 2976 } |
2966 | 2977 |
2967 } // namespace testing | 2978 } // namespace testing |
2968 | 2979 |
2969 } // namespace about_flags | 2980 } // namespace about_flags |
OLD | NEW |