| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/android/chrome_feature_list.h" | 5 #include "chrome/browser/android/chrome_feature_list.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 &features::kSimplifiedFullscreenUI, | 44 &features::kSimplifiedFullscreenUI, |
| 45 &features::kVrShell, | 45 &features::kVrShell, |
| 46 &features::kWebPayments, | 46 &features::kWebPayments, |
| 47 &kAndroidPayIntegrationV1, | 47 &kAndroidPayIntegrationV1, |
| 48 &kAndroidPayIntegrationV2, | 48 &kAndroidPayIntegrationV2, |
| 49 &kAndroidPaymentApps, | 49 &kAndroidPaymentApps, |
| 50 &kCCTBackgroundTab, | 50 &kCCTBackgroundTab, |
| 51 &kCCTExternalLinkHandling, | 51 &kCCTExternalLinkHandling, |
| 52 &kCCTPostMessageAPI, | 52 &kCCTPostMessageAPI, |
| 53 &kChromeHomeFeature, | 53 &kChromeHomeFeature, |
| 54 &kChromeHomeExpandButton, |
| 54 &kContentSuggestionsSettings, | 55 &kContentSuggestionsSettings, |
| 55 &kContextualSearchSingleActions, | 56 &kContextualSearchSingleActions, |
| 56 &kContextualSearchUrlActions, | 57 &kContextualSearchUrlActions, |
| 57 &kCustomContextMenu, | 58 &kCustomContextMenu, |
| 58 &kCustomFeedbackUi, | 59 &kCustomFeedbackUi, |
| 59 &data_reduction_proxy::features::kDataReductionMainMenu, | 60 &data_reduction_proxy::features::kDataReductionMainMenu, |
| 60 &data_reduction_proxy::features::kDataReductionSiteBreakdown, | 61 &data_reduction_proxy::features::kDataReductionSiteBreakdown, |
| 61 &kFullscreenActivity, | 62 &kFullscreenActivity, |
| 62 &kImportantSitesInCBD, | 63 &kImportantSitesInCBD, |
| 63 &kImprovedA2HS, | 64 &kImprovedA2HS, |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 | 119 |
| 119 const base::Feature kCCTExternalLinkHandling{"CCTExternalLinkHandling", | 120 const base::Feature kCCTExternalLinkHandling{"CCTExternalLinkHandling", |
| 120 base::FEATURE_ENABLED_BY_DEFAULT}; | 121 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 121 | 122 |
| 122 const base::Feature kCCTPostMessageAPI{"CCTPostMessageAPI", | 123 const base::Feature kCCTPostMessageAPI{"CCTPostMessageAPI", |
| 123 base::FEATURE_ENABLED_BY_DEFAULT}; | 124 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 124 | 125 |
| 125 const base::Feature kChromeHomeFeature{"ChromeHome", | 126 const base::Feature kChromeHomeFeature{"ChromeHome", |
| 126 base::FEATURE_DISABLED_BY_DEFAULT}; | 127 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 127 | 128 |
| 129 const base::Feature kChromeHomeExpandButton{"ChromeHomeExpandButton", |
| 130 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 131 |
| 128 const base::Feature kContentSuggestionsSettings{ | 132 const base::Feature kContentSuggestionsSettings{ |
| 129 "ContentSuggestionsSettings", base::FEATURE_DISABLED_BY_DEFAULT}; | 133 "ContentSuggestionsSettings", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 130 | 134 |
| 131 const base::Feature kContextualSearchSingleActions{ | 135 const base::Feature kContextualSearchSingleActions{ |
| 132 "ContextualSearchSingleActions", base::FEATURE_ENABLED_BY_DEFAULT}; | 136 "ContextualSearchSingleActions", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 133 | 137 |
| 134 const base::Feature kContextualSearchUrlActions{ | 138 const base::Feature kContextualSearchUrlActions{ |
| 135 "ContextualSearchUrlActions", base::FEATURE_DISABLED_BY_DEFAULT}; | 139 "ContextualSearchUrlActions", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 136 | 140 |
| 137 const base::Feature kCustomContextMenu{"CustomContextMenu", | 141 const base::Feature kCustomContextMenu{"CustomContextMenu", |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, | 283 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, |
| 280 jdefault_value); | 284 jdefault_value); |
| 281 } | 285 } |
| 282 | 286 |
| 283 bool RegisterChromeFeatureListJni(JNIEnv* env) { | 287 bool RegisterChromeFeatureListJni(JNIEnv* env) { |
| 284 return RegisterNativesImpl(env); | 288 return RegisterNativesImpl(env); |
| 285 } | 289 } |
| 286 | 290 |
| 287 } // namespace android | 291 } // namespace android |
| 288 } // namespace chrome | 292 } // namespace chrome |
| OLD | NEW |