| 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 27 matching lines...) Expand all Loading... |
| 38 &features::kSimplifiedFullscreenUI, | 38 &features::kSimplifiedFullscreenUI, |
| 39 &features::kVrShell, | 39 &features::kVrShell, |
| 40 &features::kWebPayments, | 40 &features::kWebPayments, |
| 41 &kAndroidPayIntegrationV1, | 41 &kAndroidPayIntegrationV1, |
| 42 &kAndroidPayIntegrationV2, | 42 &kAndroidPayIntegrationV2, |
| 43 &kAndroidPaymentApps, | 43 &kAndroidPaymentApps, |
| 44 &kCCTExternalLinkHandling, | 44 &kCCTExternalLinkHandling, |
| 45 &kCCTPostMessageAPI, | 45 &kCCTPostMessageAPI, |
| 46 &kChromeHomeFeature, | 46 &kChromeHomeFeature, |
| 47 &kContextualSearchSingleActions, | 47 &kContextualSearchSingleActions, |
| 48 &kDownloadsUiFeature, | |
| 49 &kImportantSitesInCBD, | 48 &kImportantSitesInCBD, |
| 50 &kImprovedA2HS, | 49 &kImprovedA2HS, |
| 51 &kNativeAndroidHistoryManager, | 50 &kNativeAndroidHistoryManager, |
| 52 &kNoCreditCardAbort, | 51 &kNoCreditCardAbort, |
| 53 &kNTPFakeOmniboxTextFeature, | 52 &kNTPFakeOmniboxTextFeature, |
| 54 &kNTPOfflinePagesFeature, | 53 &kNTPOfflinePagesFeature, |
| 55 &kNTPSuggestionsStandaloneUIFeature, | 54 &kNTPSuggestionsStandaloneUIFeature, |
| 56 &kPhysicalWebFeature, | 55 &kPhysicalWebFeature, |
| 57 &kPhysicalWebIgnoreOtherClientsFeature, | 56 &kPhysicalWebIgnoreOtherClientsFeature, |
| 58 &kSpecialLocaleFeature, | 57 &kSpecialLocaleFeature, |
| (...skipping 29 matching lines...) Expand all Loading... |
| 88 | 87 |
| 89 const base::Feature kCCTPostMessageAPI{"CCTPostMessageAPI", | 88 const base::Feature kCCTPostMessageAPI{"CCTPostMessageAPI", |
| 90 base::FEATURE_ENABLED_BY_DEFAULT}; | 89 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 91 | 90 |
| 92 const base::Feature kChromeHomeFeature{"ChromeHome", | 91 const base::Feature kChromeHomeFeature{"ChromeHome", |
| 93 base::FEATURE_DISABLED_BY_DEFAULT}; | 92 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 94 | 93 |
| 95 const base::Feature kContextualSearchSingleActions{ | 94 const base::Feature kContextualSearchSingleActions{ |
| 96 "ContextualSearchSingleActions", base::FEATURE_DISABLED_BY_DEFAULT}; | 95 "ContextualSearchSingleActions", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 97 | 96 |
| 98 const base::Feature kDownloadsUiFeature{"DownloadsUi", | |
| 99 base::FEATURE_DISABLED_BY_DEFAULT}; | |
| 100 | |
| 101 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD", | 97 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD", |
| 102 base::FEATURE_DISABLED_BY_DEFAULT}; | 98 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 103 | 99 |
| 104 // Makes "Add to Home screen" in the app menu generate an APK for the shortcut | 100 // Makes "Add to Home screen" in the app menu generate an APK for the shortcut |
| 105 // URL which opens Chrome in fullscreen. | 101 // URL which opens Chrome in fullscreen. |
| 106 const base::Feature kImprovedA2HS{"ImprovedA2HS", | 102 const base::Feature kImprovedA2HS{"ImprovedA2HS", |
| 107 base::FEATURE_DISABLED_BY_DEFAULT}; | 103 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 108 | 104 |
| 109 const base::Feature kNativeAndroidHistoryManager{ | 105 const base::Feature kNativeAndroidHistoryManager{ |
| 110 "AndroidHistoryManager", base::FEATURE_DISABLED_BY_DEFAULT}; | 106 "AndroidHistoryManager", base::FEATURE_DISABLED_BY_DEFAULT}; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 NOTREACHED(); | 150 NOTREACHED(); |
| 155 return false; | 151 return false; |
| 156 } | 152 } |
| 157 | 153 |
| 158 bool RegisterChromeFeatureListJni(JNIEnv* env) { | 154 bool RegisterChromeFeatureListJni(JNIEnv* env) { |
| 159 return RegisterNativesImpl(env); | 155 return RegisterNativesImpl(env); |
| 160 } | 156 } |
| 161 | 157 |
| 162 } // namespace android | 158 } // namespace android |
| 163 } // namespace chrome | 159 } // namespace chrome |
| OLD | NEW |