| 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 24 matching lines...) Expand all Loading... |
| 35 &features::kAutoplayMutedVideos, | 35 &features::kAutoplayMutedVideos, |
| 36 &features::kCredentialManagementAPI, | 36 &features::kCredentialManagementAPI, |
| 37 &features::kSimplifiedFullscreenUI, | 37 &features::kSimplifiedFullscreenUI, |
| 38 &features::kWebPayments, | 38 &features::kWebPayments, |
| 39 &kAndroidPayIntegrationV1, | 39 &kAndroidPayIntegrationV1, |
| 40 &kDownloadsUiFeature, | 40 &kDownloadsUiFeature, |
| 41 &kImportantSitesInCBD, | 41 &kImportantSitesInCBD, |
| 42 &ntp_snippets::kContentSuggestionsFeature, | 42 &ntp_snippets::kContentSuggestionsFeature, |
| 43 &ntp_snippets::kSaveToOfflineFeature, | 43 &ntp_snippets::kSaveToOfflineFeature, |
| 44 &kNTPFakeOmniboxTextFeature, | 44 &kNTPFakeOmniboxTextFeature, |
| 45 &kNTPMaterialDesign, | |
| 46 &kNTPOfflinePagesFeature, | 45 &kNTPOfflinePagesFeature, |
| 47 &kPhysicalWebFeature, | 46 &kPhysicalWebFeature, |
| 48 &kPhysicalWebIgnoreOtherClientsFeature, | 47 &kPhysicalWebIgnoreOtherClientsFeature, |
| 49 &kScanCardsInWebPayments, | 48 &kScanCardsInWebPayments, |
| 50 &kSpecialLocaleFeature, | 49 &kSpecialLocaleFeature, |
| 51 &kSpecialLocaleWrapper, | 50 &kSpecialLocaleWrapper, |
| 52 &kTabReparenting, | 51 &kTabReparenting, |
| 53 &kCCTExternalLinkHandling, | 52 &kCCTExternalLinkHandling, |
| 54 &offline_pages::kOfflinePagesBackgroundLoadingFeature, | 53 &offline_pages::kOfflinePagesBackgroundLoadingFeature, |
| 55 &offline_pages::kBackgroundLoaderForDownloadsFeature, | 54 &offline_pages::kBackgroundLoaderForDownloadsFeature, |
| 56 &offline_pages::kOfflinePagesCTFeature, // See crbug.com/620421. | 55 &offline_pages::kOfflinePagesCTFeature, // See crbug.com/620421. |
| 57 &offline_pages::kOfflinePagesSharingFeature, | 56 &offline_pages::kOfflinePagesSharingFeature, |
| 58 &password_manager::features::kViewPasswords, | 57 &password_manager::features::kViewPasswords, |
| 59 }; | 58 }; |
| 60 | 59 |
| 61 } // namespace | 60 } // namespace |
| 62 | 61 |
| 63 const base::Feature kAndroidPayIntegrationV1{"AndroidPayIntegrationV1", | 62 const base::Feature kAndroidPayIntegrationV1{"AndroidPayIntegrationV1", |
| 64 base::FEATURE_ENABLED_BY_DEFAULT}; | 63 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 65 | 64 |
| 66 const base::Feature kDownloadsUiFeature{"DownloadsUi", | 65 const base::Feature kDownloadsUiFeature{"DownloadsUi", |
| 67 base::FEATURE_DISABLED_BY_DEFAULT}; | 66 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 68 | 67 |
| 69 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD", | 68 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD", |
| 70 base::FEATURE_DISABLED_BY_DEFAULT}; | 69 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 71 | 70 |
| 72 const base::Feature kNTPMaterialDesign{"NTPMaterialDesign", | |
| 73 base::FEATURE_ENABLED_BY_DEFAULT}; | |
| 74 | |
| 75 const base::Feature kNTPOfflinePagesFeature{"NTPOfflinePages", | 71 const base::Feature kNTPOfflinePagesFeature{"NTPOfflinePages", |
| 76 base::FEATURE_DISABLED_BY_DEFAULT}; | 72 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 77 | 73 |
| 78 const base::Feature kNTPFakeOmniboxTextFeature{ | 74 const base::Feature kNTPFakeOmniboxTextFeature{ |
| 79 "NTPFakeOmniboxText", base::FEATURE_DISABLED_BY_DEFAULT}; | 75 "NTPFakeOmniboxText", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 80 | 76 |
| 81 const base::Feature kPhysicalWebFeature{"PhysicalWeb", | 77 const base::Feature kPhysicalWebFeature{"PhysicalWeb", |
| 82 base::FEATURE_ENABLED_BY_DEFAULT}; | 78 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 83 | 79 |
| 84 const base::Feature kPhysicalWebIgnoreOtherClientsFeature{ | 80 const base::Feature kPhysicalWebIgnoreOtherClientsFeature{ |
| (...skipping 29 matching lines...) Expand all Loading... |
| 114 NOTREACHED(); | 110 NOTREACHED(); |
| 115 return false; | 111 return false; |
| 116 } | 112 } |
| 117 | 113 |
| 118 bool RegisterChromeFeatureListJni(JNIEnv* env) { | 114 bool RegisterChromeFeatureListJni(JNIEnv* env) { |
| 119 return RegisterNativesImpl(env); | 115 return RegisterNativesImpl(env); |
| 120 } | 116 } |
| 121 | 117 |
| 122 } // namespace android | 118 } // namespace android |
| 123 } // namespace chrome | 119 } // namespace chrome |
| OLD | NEW |