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 29 matching lines...) Expand all Loading... |
40 &features::kWebPayments, | 40 &features::kWebPayments, |
41 &kAndroidPayIntegrationV1, | 41 &kAndroidPayIntegrationV1, |
42 &kAndroidPayIntegrationV2, | 42 &kAndroidPayIntegrationV2, |
43 &kCCTExternalLinkHandling, | 43 &kCCTExternalLinkHandling, |
44 &kCCTPostMessageAPI, | 44 &kCCTPostMessageAPI, |
45 &kChromeHomeFeature, | 45 &kChromeHomeFeature, |
46 &kContextualSearchSingleActions, | 46 &kContextualSearchSingleActions, |
47 &kDownloadsUiFeature, | 47 &kDownloadsUiFeature, |
48 &kImportantSitesInCBD, | 48 &kImportantSitesInCBD, |
49 &kImprovedA2HS, | 49 &kImprovedA2HS, |
| 50 &kNativeAndroidHistoryManager, |
50 &kNoCreditCardAbort, | 51 &kNoCreditCardAbort, |
51 &kNTPFakeOmniboxTextFeature, | 52 &kNTPFakeOmniboxTextFeature, |
52 &kNTPOfflinePagesFeature, | 53 &kNTPOfflinePagesFeature, |
53 &kPhysicalWebFeature, | 54 &kPhysicalWebFeature, |
54 &kPhysicalWebIgnoreOtherClientsFeature, | 55 &kPhysicalWebIgnoreOtherClientsFeature, |
55 &kSpecialLocaleFeature, | 56 &kSpecialLocaleFeature, |
56 &kSpecialLocaleWrapper, | 57 &kSpecialLocaleWrapper, |
57 &kTabReparenting, | 58 &kTabReparenting, |
58 &kWebPaymentsModifiers, | 59 &kWebPaymentsModifiers, |
59 &ntp_snippets::kContentSuggestionsFeature, | 60 &ntp_snippets::kContentSuggestionsFeature, |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 base::FEATURE_DISABLED_BY_DEFAULT}; | 94 base::FEATURE_DISABLED_BY_DEFAULT}; |
94 | 95 |
95 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD", | 96 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD", |
96 base::FEATURE_DISABLED_BY_DEFAULT}; | 97 base::FEATURE_DISABLED_BY_DEFAULT}; |
97 | 98 |
98 // Makes "Add to Home screen" in the app menu generate an APK for the shortcut | 99 // Makes "Add to Home screen" in the app menu generate an APK for the shortcut |
99 // URL which opens Chrome in fullscreen. | 100 // URL which opens Chrome in fullscreen. |
100 const base::Feature kImprovedA2HS{"ImprovedA2HS", | 101 const base::Feature kImprovedA2HS{"ImprovedA2HS", |
101 base::FEATURE_DISABLED_BY_DEFAULT}; | 102 base::FEATURE_DISABLED_BY_DEFAULT}; |
102 | 103 |
| 104 const base::Feature kNativeAndroidHistoryManager{ |
| 105 "AndroidHistoryManager", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 106 |
103 const base::Feature kNoCreditCardAbort{"NoCreditCardAbort", | 107 const base::Feature kNoCreditCardAbort{"NoCreditCardAbort", |
104 base::FEATURE_DISABLED_BY_DEFAULT}; | 108 base::FEATURE_DISABLED_BY_DEFAULT}; |
105 | 109 |
106 const base::Feature kNTPFakeOmniboxTextFeature{ | 110 const base::Feature kNTPFakeOmniboxTextFeature{ |
107 "NTPFakeOmniboxText", base::FEATURE_DISABLED_BY_DEFAULT}; | 111 "NTPFakeOmniboxText", base::FEATURE_DISABLED_BY_DEFAULT}; |
108 | 112 |
109 const base::Feature kNTPOfflinePagesFeature{"NTPOfflinePages", | 113 const base::Feature kNTPOfflinePagesFeature{"NTPOfflinePages", |
110 base::FEATURE_ENABLED_BY_DEFAULT}; | 114 base::FEATURE_ENABLED_BY_DEFAULT}; |
111 | 115 |
112 const base::Feature kPhysicalWebFeature{"PhysicalWeb", | 116 const base::Feature kPhysicalWebFeature{"PhysicalWeb", |
(...skipping 29 matching lines...) Expand all Loading... |
142 NOTREACHED(); | 146 NOTREACHED(); |
143 return false; | 147 return false; |
144 } | 148 } |
145 | 149 |
146 bool RegisterChromeFeatureListJni(JNIEnv* env) { | 150 bool RegisterChromeFeatureListJni(JNIEnv* env) { |
147 return RegisterNativesImpl(env); | 151 return RegisterNativesImpl(env); |
148 } | 152 } |
149 | 153 |
150 } // namespace android | 154 } // namespace android |
151 } // namespace chrome | 155 } // namespace chrome |
OLD | NEW |