| 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 2268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2279 flag_descriptions::kPassiveEventListenersDueToFlingName, | 2279 flag_descriptions::kPassiveEventListenersDueToFlingName, |
| 2280 flag_descriptions::kPassiveEventListenersDueToFlingDescription, kOsAll, | 2280 flag_descriptions::kPassiveEventListenersDueToFlingDescription, kOsAll, |
| 2281 FEATURE_VALUE_TYPE(features::kPassiveEventListenersDueToFling)}, | 2281 FEATURE_VALUE_TYPE(features::kPassiveEventListenersDueToFling)}, |
| 2282 {"enable-font-cache-scaling", flag_descriptions::kFontCacheScalingName, | 2282 {"enable-font-cache-scaling", flag_descriptions::kFontCacheScalingName, |
| 2283 flag_descriptions::kFontCacheScalingDescription, kOsAll, | 2283 flag_descriptions::kFontCacheScalingDescription, kOsAll, |
| 2284 FEATURE_VALUE_TYPE(features::kFontCacheScaling)}, | 2284 FEATURE_VALUE_TYPE(features::kFontCacheScaling)}, |
| 2285 {"enable-framebusting-needs-sameorigin-or-usergesture", | 2285 {"enable-framebusting-needs-sameorigin-or-usergesture", |
| 2286 flag_descriptions::kFramebustingName, | 2286 flag_descriptions::kFramebustingName, |
| 2287 flag_descriptions::kFramebustingDescription, kOsAll, | 2287 flag_descriptions::kFramebustingDescription, kOsAll, |
| 2288 FEATURE_VALUE_TYPE(features::kFramebustingNeedsSameOriginOrUserGesture)}, | 2288 FEATURE_VALUE_TYPE(features::kFramebustingNeedsSameOriginOrUserGesture)}, |
| 2289 {"vibrate-requires-user-gesture", |
| 2290 flag_descriptions::kVibrateRequiresUserGestureName, |
| 2291 flag_descriptions::kVibrateRequiresUserGestureDescription, kOsAll, |
| 2292 FEATURE_VALUE_TYPE(features::kVibrateRequiresUserGesture)}, |
| 2289 {"web-payments", flag_descriptions::kWebPaymentsName, | 2293 {"web-payments", flag_descriptions::kWebPaymentsName, |
| 2290 flag_descriptions::kWebPaymentsDescription, kOsDesktop, | 2294 flag_descriptions::kWebPaymentsDescription, kOsDesktop, |
| 2291 FEATURE_VALUE_TYPE(features::kWebPayments)}, | 2295 FEATURE_VALUE_TYPE(features::kWebPayments)}, |
| 2292 #if defined(OS_ANDROID) | 2296 #if defined(OS_ANDROID) |
| 2293 {"enable-android-pay-integration-v1", | 2297 {"enable-android-pay-integration-v1", |
| 2294 flag_descriptions::kEnableAndroidPayIntegrationV1Name, | 2298 flag_descriptions::kEnableAndroidPayIntegrationV1Name, |
| 2295 flag_descriptions::kEnableAndroidPayIntegrationV1Description, kOsAndroid, | 2299 flag_descriptions::kEnableAndroidPayIntegrationV1Description, kOsAndroid, |
| 2296 FEATURE_VALUE_TYPE(chrome::android::kAndroidPayIntegrationV1)}, | 2300 FEATURE_VALUE_TYPE(chrome::android::kAndroidPayIntegrationV1)}, |
| 2297 {"enable-android-pay-integration-v2", | 2301 {"enable-android-pay-integration-v2", |
| 2298 flag_descriptions::kEnableAndroidPayIntegrationV2Name, | 2302 flag_descriptions::kEnableAndroidPayIntegrationV2Name, |
| (...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2874 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2878 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 2875 | 2879 |
| 2876 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2880 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 2877 *count = arraysize(kFeatureEntries); | 2881 *count = arraysize(kFeatureEntries); |
| 2878 return kFeatureEntries; | 2882 return kFeatureEntries; |
| 2879 } | 2883 } |
| 2880 | 2884 |
| 2881 } // namespace testing | 2885 } // namespace testing |
| 2882 | 2886 |
| 2883 } // namespace about_flags | 2887 } // namespace about_flags |
| OLD | NEW |