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 801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
812 #endif | 812 #endif |
813 {"enable-scroll-prediction", | 813 {"enable-scroll-prediction", |
814 IDS_FLAGS_ENABLE_SCROLL_PREDICTION_NAME, | 814 IDS_FLAGS_ENABLE_SCROLL_PREDICTION_NAME, |
815 IDS_FLAGS_ENABLE_SCROLL_PREDICTION_DESCRIPTION, | 815 IDS_FLAGS_ENABLE_SCROLL_PREDICTION_DESCRIPTION, |
816 kOsDesktop, | 816 kOsDesktop, |
817 SINGLE_VALUE_TYPE(switches::kEnableScrollPrediction)}, | 817 SINGLE_VALUE_TYPE(switches::kEnableScrollPrediction)}, |
818 #if defined(ENABLE_TOPCHROME_MD) | 818 #if defined(ENABLE_TOPCHROME_MD) |
819 {"top-chrome-md", | 819 {"top-chrome-md", |
820 IDS_FLAGS_TOP_CHROME_MD, | 820 IDS_FLAGS_TOP_CHROME_MD, |
821 IDS_FLAGS_TOP_CHROME_MD_DESCRIPTION, | 821 IDS_FLAGS_TOP_CHROME_MD_DESCRIPTION, |
822 kOsWin | kOsCrOS, | 822 kOsWin | kOsLinux | kOsCrOS, |
823 MULTI_VALUE_TYPE(kTopChromeMaterialDesignChoices)}, | 823 MULTI_VALUE_TYPE(kTopChromeMaterialDesignChoices)}, |
824 #endif | 824 #endif |
825 {"touch-events", | 825 {"touch-events", |
826 IDS_TOUCH_EVENTS_NAME, | 826 IDS_TOUCH_EVENTS_NAME, |
827 IDS_TOUCH_EVENTS_DESCRIPTION, | 827 IDS_TOUCH_EVENTS_DESCRIPTION, |
828 kOsDesktop, | 828 kOsDesktop, |
829 MULTI_VALUE_TYPE(kTouchEventsChoices)}, | 829 MULTI_VALUE_TYPE(kTouchEventsChoices)}, |
830 {"disable-touch-adjustment", | 830 {"disable-touch-adjustment", |
831 IDS_DISABLE_TOUCH_ADJUSTMENT_NAME, | 831 IDS_DISABLE_TOUCH_ADJUSTMENT_NAME, |
832 IDS_DISABLE_TOUCH_ADJUSTMENT_DESCRIPTION, | 832 IDS_DISABLE_TOUCH_ADJUSTMENT_DESCRIPTION, |
(...skipping 1809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2642 } | 2642 } |
2643 | 2643 |
2644 const Experiment* GetExperiments(size_t* count) { | 2644 const Experiment* GetExperiments(size_t* count) { |
2645 *count = num_experiments; | 2645 *count = num_experiments; |
2646 return experiments; | 2646 return experiments; |
2647 } | 2647 } |
2648 | 2648 |
2649 } // namespace testing | 2649 } // namespace testing |
2650 | 2650 |
2651 } // namespace about_flags | 2651 } // namespace about_flags |
OLD | NEW |