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 871 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
882 SINGLE_VALUE_TYPE(switches::kEnableSpellingAutoCorrect) | 882 SINGLE_VALUE_TYPE(switches::kEnableSpellingAutoCorrect) |
883 }, | 883 }, |
884 #endif | 884 #endif |
885 { | 885 { |
886 "enable-scroll-prediction", | 886 "enable-scroll-prediction", |
887 IDS_FLAGS_ENABLE_SCROLL_PREDICTION_NAME, | 887 IDS_FLAGS_ENABLE_SCROLL_PREDICTION_NAME, |
888 IDS_FLAGS_ENABLE_SCROLL_PREDICTION_DESCRIPTION, | 888 IDS_FLAGS_ENABLE_SCROLL_PREDICTION_DESCRIPTION, |
889 kOsDesktop, | 889 kOsDesktop, |
890 SINGLE_VALUE_TYPE(switches::kEnableScrollPrediction) | 890 SINGLE_VALUE_TYPE(switches::kEnableScrollPrediction) |
891 }, | 891 }, |
| 892 #if defined(ENABLE_TOPCHROME_MD) |
| 893 { |
| 894 "top-chrome-md", |
| 895 IDS_FLAGS_TOP_CHROME_MD, |
| 896 IDS_FLAGS_TOP_CHROME_MD_DESCRIPTION, |
| 897 kOsWin | kOsCrOS, |
| 898 ENABLE_DISABLE_VALUE_TYPE( |
| 899 switches::kTopChromeMDEnabled, |
| 900 switches::kTopChromeMDDisabled) |
| 901 }, |
| 902 #endif |
892 { | 903 { |
893 "touch-events", | 904 "touch-events", |
894 IDS_TOUCH_EVENTS_NAME, | 905 IDS_TOUCH_EVENTS_NAME, |
895 IDS_TOUCH_EVENTS_DESCRIPTION, | 906 IDS_TOUCH_EVENTS_DESCRIPTION, |
896 kOsDesktop, | 907 kOsDesktop, |
897 MULTI_VALUE_TYPE(kTouchEventsChoices) | 908 MULTI_VALUE_TYPE(kTouchEventsChoices) |
898 }, | 909 }, |
899 { | 910 { |
900 "disable-touch-adjustment", | 911 "disable-touch-adjustment", |
901 IDS_DISABLE_TOUCH_ADJUSTMENT_NAME, | 912 IDS_DISABLE_TOUCH_ADJUSTMENT_NAME, |
(...skipping 2106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3008 } | 3019 } |
3009 | 3020 |
3010 const Experiment* GetExperiments(size_t* count) { | 3021 const Experiment* GetExperiments(size_t* count) { |
3011 *count = num_experiments; | 3022 *count = num_experiments; |
3012 return experiments; | 3023 return experiments; |
3013 } | 3024 } |
3014 | 3025 |
3015 } // namespace testing | 3026 } // namespace testing |
3016 | 3027 |
3017 } // namespace about_flags | 3028 } // namespace about_flags |
OLD | NEW |