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::kWebPayments, | 44 &features::kWebPayments, |
45 &kAndroidPayIntegrationV1, | 45 &kAndroidPayIntegrationV1, |
46 &kAndroidPayIntegrationV2, | 46 &kAndroidPayIntegrationV2, |
47 &kAndroidPaymentApps, | 47 &kAndroidPaymentApps, |
48 &kAndroidPaymentAppsFilter, | 48 &kAndroidPaymentAppsFilter, |
49 &kCCTExternalLinkHandling, | 49 &kCCTExternalLinkHandling, |
50 &kCCTPostMessageAPI, | 50 &kCCTPostMessageAPI, |
51 &kChromeHomeFeature, | 51 &kChromeHomeFeature, |
52 &kContextualSearchSingleActions, | 52 &kContextualSearchSingleActions, |
53 &kContextualSearchUrlActions, | 53 &kContextualSearchUrlActions, |
| 54 &kCustomContextMenu, |
54 &kCustomFeedbackUi, | 55 &kCustomFeedbackUi, |
55 &kImportantSitesInCBD, | 56 &kImportantSitesInCBD, |
56 &kImprovedA2HS, | 57 &kImprovedA2HS, |
57 &kNewPhotoPicker, | 58 &kNewPhotoPicker, |
58 &kNoCreditCardAbort, | 59 &kNoCreditCardAbort, |
59 &kNTPCondensedLayoutFeature, | 60 &kNTPCondensedLayoutFeature, |
60 &kNTPCondensedTileLayoutFeature, | 61 &kNTPCondensedTileLayoutFeature, |
61 &kNTPFakeOmniboxTextFeature, | 62 &kNTPFakeOmniboxTextFeature, |
62 &kNTPLaunchAfterInactivity, | 63 &kNTPLaunchAfterInactivity, |
63 &kNTPOfflinePagesFeature, | 64 &kNTPOfflinePagesFeature, |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 | 115 |
115 const base::Feature kChromeHomeFeature{"ChromeHome", | 116 const base::Feature kChromeHomeFeature{"ChromeHome", |
116 base::FEATURE_DISABLED_BY_DEFAULT}; | 117 base::FEATURE_DISABLED_BY_DEFAULT}; |
117 | 118 |
118 const base::Feature kContextualSearchSingleActions{ | 119 const base::Feature kContextualSearchSingleActions{ |
119 "ContextualSearchSingleActions", base::FEATURE_ENABLED_BY_DEFAULT}; | 120 "ContextualSearchSingleActions", base::FEATURE_ENABLED_BY_DEFAULT}; |
120 | 121 |
121 const base::Feature kContextualSearchUrlActions{ | 122 const base::Feature kContextualSearchUrlActions{ |
122 "ContextualSearchUrlActions", base::FEATURE_DISABLED_BY_DEFAULT}; | 123 "ContextualSearchUrlActions", base::FEATURE_DISABLED_BY_DEFAULT}; |
123 | 124 |
| 125 const base::Feature kCustomContextMenu{"CustomContextMenu", |
| 126 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 127 |
124 const base::Feature kCustomFeedbackUi{"CustomFeedbackUi", | 128 const base::Feature kCustomFeedbackUi{"CustomFeedbackUi", |
125 base::FEATURE_DISABLED_BY_DEFAULT}; | 129 base::FEATURE_DISABLED_BY_DEFAULT}; |
126 | 130 |
127 const base::Feature kDownloadAutoResumptionThrottling{ | 131 const base::Feature kDownloadAutoResumptionThrottling{ |
128 "DownloadAutoResumptionThrottling", base::FEATURE_ENABLED_BY_DEFAULT}; | 132 "DownloadAutoResumptionThrottling", base::FEATURE_ENABLED_BY_DEFAULT}; |
129 | 133 |
130 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD", | 134 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD", |
131 base::FEATURE_DISABLED_BY_DEFAULT}; | 135 base::FEATURE_DISABLED_BY_DEFAULT}; |
132 | 136 |
133 // Makes "Add to Home screen" in the app menu generate an APK for the shortcut | 137 // Makes "Add to Home screen" in the app menu generate an APK for the shortcut |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, | 254 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, |
251 jdefault_value); | 255 jdefault_value); |
252 } | 256 } |
253 | 257 |
254 bool RegisterChromeFeatureListJni(JNIEnv* env) { | 258 bool RegisterChromeFeatureListJni(JNIEnv* env) { |
255 return RegisterNativesImpl(env); | 259 return RegisterNativesImpl(env); |
256 } | 260 } |
257 | 261 |
258 } // namespace android | 262 } // namespace android |
259 } // namespace chrome | 263 } // namespace chrome |
OLD | NEW |