| 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 2333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2344 flag_descriptions::kPassiveEventListenersDueToFlingName, | 2344 flag_descriptions::kPassiveEventListenersDueToFlingName, |
| 2345 flag_descriptions::kPassiveEventListenersDueToFlingDescription, kOsAll, | 2345 flag_descriptions::kPassiveEventListenersDueToFlingDescription, kOsAll, |
| 2346 FEATURE_VALUE_TYPE(features::kPassiveEventListenersDueToFling)}, | 2346 FEATURE_VALUE_TYPE(features::kPassiveEventListenersDueToFling)}, |
| 2347 {"enable-font-cache-scaling", flag_descriptions::kFontCacheScalingName, | 2347 {"enable-font-cache-scaling", flag_descriptions::kFontCacheScalingName, |
| 2348 flag_descriptions::kFontCacheScalingDescription, kOsAll, | 2348 flag_descriptions::kFontCacheScalingDescription, kOsAll, |
| 2349 FEATURE_VALUE_TYPE(features::kFontCacheScaling)}, | 2349 FEATURE_VALUE_TYPE(features::kFontCacheScaling)}, |
| 2350 {"enable-framebusting-needs-sameorigin-or-usergesture", | 2350 {"enable-framebusting-needs-sameorigin-or-usergesture", |
| 2351 flag_descriptions::kFramebustingName, | 2351 flag_descriptions::kFramebustingName, |
| 2352 flag_descriptions::kFramebustingDescription, kOsAll, | 2352 flag_descriptions::kFramebustingDescription, kOsAll, |
| 2353 FEATURE_VALUE_TYPE(features::kFramebustingNeedsSameOriginOrUserGesture)}, | 2353 FEATURE_VALUE_TYPE(features::kFramebustingNeedsSameOriginOrUserGesture)}, |
| 2354 {"vibrate-requires-user-gesture", |
| 2355 flag_descriptions::kVibrateRequiresUserGestureName, |
| 2356 flag_descriptions::kVibrateRequiresUserGestureDescription, kOsAll, |
| 2357 FEATURE_VALUE_TYPE(features::kVibrateRequiresUserGesture)}, |
| 2354 {"web-payments", flag_descriptions::kWebPaymentsName, | 2358 {"web-payments", flag_descriptions::kWebPaymentsName, |
| 2355 flag_descriptions::kWebPaymentsDescription, kOsDesktop, | 2359 flag_descriptions::kWebPaymentsDescription, kOsDesktop, |
| 2356 FEATURE_VALUE_TYPE(features::kWebPayments)}, | 2360 FEATURE_VALUE_TYPE(features::kWebPayments)}, |
| 2357 #if defined(OS_ANDROID) | 2361 #if defined(OS_ANDROID) |
| 2358 {"enable-android-pay-integration-v1", | 2362 {"enable-android-pay-integration-v1", |
| 2359 flag_descriptions::kEnableAndroidPayIntegrationV1Name, | 2363 flag_descriptions::kEnableAndroidPayIntegrationV1Name, |
| 2360 flag_descriptions::kEnableAndroidPayIntegrationV1Description, kOsAndroid, | 2364 flag_descriptions::kEnableAndroidPayIntegrationV1Description, kOsAndroid, |
| 2361 FEATURE_VALUE_TYPE(chrome::android::kAndroidPayIntegrationV1)}, | 2365 FEATURE_VALUE_TYPE(chrome::android::kAndroidPayIntegrationV1)}, |
| 2362 {"enable-android-pay-integration-v2", | 2366 {"enable-android-pay-integration-v2", |
| 2363 flag_descriptions::kEnableAndroidPayIntegrationV2Name, | 2367 flag_descriptions::kEnableAndroidPayIntegrationV2Name, |
| (...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2956 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2960 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 2957 | 2961 |
| 2958 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2962 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 2959 *count = arraysize(kFeatureEntries); | 2963 *count = arraysize(kFeatureEntries); |
| 2960 return kFeatureEntries; | 2964 return kFeatureEntries; |
| 2961 } | 2965 } |
| 2962 | 2966 |
| 2963 } // namespace testing | 2967 } // namespace testing |
| 2964 | 2968 |
| 2965 } // namespace about_flags | 2969 } // namespace about_flags |
| OLD | NEW |