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 2604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2615 FEATURE_VALUE_TYPE(features::kDesktopIOSPromotion)}, | 2615 FEATURE_VALUE_TYPE(features::kDesktopIOSPromotion)}, |
2616 #endif // defined(OS_WIN) | 2616 #endif // defined(OS_WIN) |
2617 | 2617 |
2618 #if defined(OS_CHROMEOS) | 2618 #if defined(OS_CHROMEOS) |
2619 {"enable-touch-support-for-screen-magnifier", | 2619 {"enable-touch-support-for-screen-magnifier", |
2620 flag_descriptions::kEnableTouchSupportForScreenMagnifierName, | 2620 flag_descriptions::kEnableTouchSupportForScreenMagnifierName, |
2621 flag_descriptions::kEnableTouchSupportForScreenMagnifierDescription, | 2621 flag_descriptions::kEnableTouchSupportForScreenMagnifierDescription, |
2622 kOsCrOS, | 2622 kOsCrOS, |
2623 SINGLE_VALUE_TYPE( | 2623 SINGLE_VALUE_TYPE( |
2624 chromeos::switches::kEnableTouchSupportForScreenMagnifier)}, | 2624 chromeos::switches::kEnableTouchSupportForScreenMagnifier)}, |
2625 {"ash-adjustable-large-cursor", | |
2626 flag_descriptions::kEnableAdjustableLargeCursorName, | |
2627 flag_descriptions::kEnableAdjustableLargeCursorDescription, kOsCrOS, | |
2628 SINGLE_VALUE_TYPE(ash::switches::kAshAdjustableLargeCursor)}, | |
2629 #endif // OS_CHROMEOS | 2625 #endif // OS_CHROMEOS |
2630 | 2626 |
2631 {"enable-zero-suggest-redirect-to-chrome", | 2627 {"enable-zero-suggest-redirect-to-chrome", |
2632 flag_descriptions::kEnableZeroSuggestRedirectToChromeName, | 2628 flag_descriptions::kEnableZeroSuggestRedirectToChromeName, |
2633 flag_descriptions::kEnableZeroSuggestRedirectToChromeDescription, | 2629 flag_descriptions::kEnableZeroSuggestRedirectToChromeDescription, |
2634 kOsDesktop, FEATURE_VALUE_TYPE(omnibox::kZeroSuggestRedirectToChrome)}, | 2630 kOsDesktop, FEATURE_VALUE_TYPE(omnibox::kZeroSuggestRedirectToChrome)}, |
2635 {"new-omnibox-answer-types", flag_descriptions::kNewOmniboxAnswerTypesName, | 2631 {"new-omnibox-answer-types", flag_descriptions::kNewOmniboxAnswerTypesName, |
2636 flag_descriptions::kNewOmniboxAnswerTypesDescription, kOsAll, | 2632 flag_descriptions::kNewOmniboxAnswerTypesDescription, kOsAll, |
2637 FEATURE_VALUE_TYPE(omnibox::kNewOmniboxAnswerTypes)}, | 2633 FEATURE_VALUE_TYPE(omnibox::kNewOmniboxAnswerTypes)}, |
2638 | 2634 |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2966 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2962 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
2967 | 2963 |
2968 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2964 const FeatureEntry* GetFeatureEntries(size_t* count) { |
2969 *count = arraysize(kFeatureEntries); | 2965 *count = arraysize(kFeatureEntries); |
2970 return kFeatureEntries; | 2966 return kFeatureEntries; |
2971 } | 2967 } |
2972 | 2968 |
2973 } // namespace testing | 2969 } // namespace testing |
2974 | 2970 |
2975 } // namespace about_flags | 2971 } // namespace about_flags |
OLD | NEW |