| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 | 89 |
| 91 const base::Feature kCCTPostMessageAPI{"CCTPostMessageAPI", | 90 const base::Feature kCCTPostMessageAPI{"CCTPostMessageAPI", |
| 92 base::FEATURE_ENABLED_BY_DEFAULT}; | 91 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 93 | 92 |
| 94 const base::Feature kChromeHomeFeature{"ChromeHome", | 93 const base::Feature kChromeHomeFeature{"ChromeHome", |
| 95 base::FEATURE_DISABLED_BY_DEFAULT}; | 94 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 96 | 95 |
| 97 const base::Feature kContextualSearchSingleActions{ | 96 const base::Feature kContextualSearchSingleActions{ |
| 98 "ContextualSearchSingleActions", base::FEATURE_DISABLED_BY_DEFAULT}; | 97 "ContextualSearchSingleActions", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 99 | 98 |
| 100 const base::Feature kDownloadsUiFeature{"DownloadsUi", | |
| 101 base::FEATURE_DISABLED_BY_DEFAULT}; | |
| 102 | |
| 103 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD", | 99 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD", |
| 104 base::FEATURE_DISABLED_BY_DEFAULT}; | 100 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 105 | 101 |
| 106 // Makes "Add to Home screen" in the app menu generate an APK for the shortcut | 102 // Makes "Add to Home screen" in the app menu generate an APK for the shortcut |
| 107 // URL which opens Chrome in fullscreen. | 103 // URL which opens Chrome in fullscreen. |
| 108 const base::Feature kImprovedA2HS{"ImprovedA2HS", | 104 const base::Feature kImprovedA2HS{"ImprovedA2HS", |
| 109 base::FEATURE_DISABLED_BY_DEFAULT}; | 105 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 110 | 106 |
| 111 const base::Feature kNativeAndroidHistoryManager{ | 107 const base::Feature kNativeAndroidHistoryManager{ |
| 112 "AndroidHistoryManager", base::FEATURE_DISABLED_BY_DEFAULT}; | 108 "AndroidHistoryManager", base::FEATURE_DISABLED_BY_DEFAULT}; |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 NOTREACHED(); | 157 NOTREACHED(); |
| 162 return false; | 158 return false; |
| 163 } | 159 } |
| 164 | 160 |
| 165 bool RegisterChromeFeatureListJni(JNIEnv* env) { | 161 bool RegisterChromeFeatureListJni(JNIEnv* env) { |
| 166 return RegisterNativesImpl(env); | 162 return RegisterNativesImpl(env); |
| 167 } | 163 } |
| 168 | 164 |
| 169 } // namespace android | 165 } // namespace android |
| 170 } // namespace chrome | 166 } // namespace chrome |
| OLD | NEW |