| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 &kCCTPostMessageAPI, | 42 &kCCTPostMessageAPI, |
| 43 &kChromeHomeFeature, | 43 &kChromeHomeFeature, |
| 44 &kContextualSearchSingleActions, | 44 &kContextualSearchSingleActions, |
| 45 &kDownloadsUiFeature, | 45 &kDownloadsUiFeature, |
| 46 &kImportantSitesInCBD, | 46 &kImportantSitesInCBD, |
| 47 &kNoCreditCardAbort, | 47 &kNoCreditCardAbort, |
| 48 &kNTPFakeOmniboxTextFeature, | 48 &kNTPFakeOmniboxTextFeature, |
| 49 &kNTPOfflinePagesFeature, | 49 &kNTPOfflinePagesFeature, |
| 50 &kPhysicalWebFeature, | 50 &kPhysicalWebFeature, |
| 51 &kPhysicalWebIgnoreOtherClientsFeature, | 51 &kPhysicalWebIgnoreOtherClientsFeature, |
| 52 &kPlayInstallWebApks, |
| 52 &kSpecialLocaleFeature, | 53 &kSpecialLocaleFeature, |
| 53 &kSpecialLocaleWrapper, | 54 &kSpecialLocaleWrapper, |
| 54 &kTabReparenting, | 55 &kTabReparenting, |
| 55 &kWebApks, | 56 &kWebApks, |
| 56 &ntp_snippets::kContentSuggestionsFeature, | 57 &ntp_snippets::kContentSuggestionsFeature, |
| 57 &ntp_snippets::kIncreasedVisibility, | 58 &ntp_snippets::kIncreasedVisibility, |
| 58 &ntp_snippets::kForeignSessionsSuggestionsFeature, | 59 &ntp_snippets::kForeignSessionsSuggestionsFeature, |
| 59 &ntp_snippets::kOfflineBadgeFeature, | 60 &ntp_snippets::kOfflineBadgeFeature, |
| 60 &ntp_snippets::kSaveToOfflineFeature, | 61 &ntp_snippets::kSaveToOfflineFeature, |
| 61 &ntp_snippets::kSectionDismissalFeature, | 62 &ntp_snippets::kSectionDismissalFeature, |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 | 98 |
| 98 const base::Feature kNTPFakeOmniboxTextFeature{ | 99 const base::Feature kNTPFakeOmniboxTextFeature{ |
| 99 "NTPFakeOmniboxText", base::FEATURE_DISABLED_BY_DEFAULT}; | 100 "NTPFakeOmniboxText", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 100 | 101 |
| 101 const base::Feature kPhysicalWebFeature{"PhysicalWeb", | 102 const base::Feature kPhysicalWebFeature{"PhysicalWeb", |
| 102 base::FEATURE_ENABLED_BY_DEFAULT}; | 103 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 103 | 104 |
| 104 const base::Feature kPhysicalWebIgnoreOtherClientsFeature{ | 105 const base::Feature kPhysicalWebIgnoreOtherClientsFeature{ |
| 105 "PhysicalWebIgnoreOtherClients", base::FEATURE_DISABLED_BY_DEFAULT}; | 106 "PhysicalWebIgnoreOtherClients", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 106 | 107 |
| 108 // Makes ""Add to Home screen" in the app menu generate an APK by Play Store for |
| 109 // the shortcut URL which opens Chrome in fullscreen. |
| 110 const base::Feature kPlayInstallWebApks{"PlayInstallWebApks", |
| 111 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 112 |
| 107 const base::Feature kSpecialLocaleFeature{"SpecialLocale", | 113 const base::Feature kSpecialLocaleFeature{"SpecialLocale", |
| 108 base::FEATURE_DISABLED_BY_DEFAULT}; | 114 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 109 | 115 |
| 110 const base::Feature kSpecialLocaleWrapper{"SpecialLocaleWrapper", | 116 const base::Feature kSpecialLocaleWrapper{"SpecialLocaleWrapper", |
| 111 base::FEATURE_ENABLED_BY_DEFAULT}; | 117 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 112 | 118 |
| 113 const base::Feature kTabReparenting{"TabReparenting", | 119 const base::Feature kTabReparenting{"TabReparenting", |
| 114 base::FEATURE_ENABLED_BY_DEFAULT}; | 120 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 115 | 121 |
| 116 const base::Feature kUserMediaScreenCapturing{ | 122 const base::Feature kUserMediaScreenCapturing{ |
| (...skipping 15 matching lines...) Expand all Loading... |
| 132 NOTREACHED(); | 138 NOTREACHED(); |
| 133 return false; | 139 return false; |
| 134 } | 140 } |
| 135 | 141 |
| 136 bool RegisterChromeFeatureListJni(JNIEnv* env) { | 142 bool RegisterChromeFeatureListJni(JNIEnv* env) { |
| 137 return RegisterNativesImpl(env); | 143 return RegisterNativesImpl(env); |
| 138 } | 144 } |
| 139 | 145 |
| 140 } // namespace android | 146 } // namespace android |
| 141 } // namespace chrome | 147 } // namespace chrome |
| OLD | NEW |