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