Chromium Code Reviews| 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 18 matching lines...) Expand all Loading... | |
| 29 const base::Feature* kFeaturesExposedToJava[] = { | 29 const base::Feature* kFeaturesExposedToJava[] = { |
| 30 &features::kCredentialManagementAPI, | 30 &features::kCredentialManagementAPI, |
| 31 &features::kSimplifiedFullscreenUI, | 31 &features::kSimplifiedFullscreenUI, |
| 32 &kImportantSitesInCBD, | 32 &kImportantSitesInCBD, |
| 33 &kMediaStyleNotification, | 33 &kMediaStyleNotification, |
| 34 &kNTPFakeOmniboxTextFeature, | 34 &kNTPFakeOmniboxTextFeature, |
| 35 &kNTPMaterialDesign, | 35 &kNTPMaterialDesign, |
| 36 &kNTPOfflinePagesFeature, | 36 &kNTPOfflinePagesFeature, |
| 37 &kNTPSnippetsFeature, | 37 &kNTPSnippetsFeature, |
| 38 &kNTPToolbarFeature, | 38 &kNTPToolbarFeature, |
| 39 &kNTPTransparentDoodle, | |
|
Marc Treib
2016/05/10 07:58:39
This one doesn't need to be exposed to Java.
atanasova
2016/05/10 08:38:41
Done.
| |
| 39 &kPhysicalWebFeature, | 40 &kPhysicalWebFeature, |
| 40 &offline_pages::kOfflinePagesBackgroundLoadingFeature, | 41 &offline_pages::kOfflinePagesBackgroundLoadingFeature, |
| 41 }; | 42 }; |
| 42 | 43 |
| 43 } // namespace | 44 } // namespace |
| 44 | 45 |
| 45 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD", | 46 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD", |
| 46 base::FEATURE_DISABLED_BY_DEFAULT}; | 47 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 47 | 48 |
| 48 const base::Feature kMediaStyleNotification { | 49 const base::Feature kMediaStyleNotification { |
| 49 "MediaStyleNotification", base::FEATURE_DISABLED_BY_DEFAULT | 50 "MediaStyleNotification", base::FEATURE_DISABLED_BY_DEFAULT |
| 50 }; | 51 }; |
| 51 | 52 |
| 52 const base::Feature kNTPMaterialDesign{"NTPMaterialDesign", | 53 const base::Feature kNTPMaterialDesign{"NTPMaterialDesign", |
| 53 base::FEATURE_ENABLED_BY_DEFAULT}; | 54 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 54 | 55 |
| 55 const base::Feature kNTPOfflinePagesFeature { | 56 const base::Feature kNTPOfflinePagesFeature { |
| 56 "NTPOfflinePages", base::FEATURE_DISABLED_BY_DEFAULT | 57 "NTPOfflinePages", base::FEATURE_DISABLED_BY_DEFAULT |
| 57 }; | 58 }; |
| 58 | 59 |
| 59 const base::Feature kNTPSnippetsFeature { | 60 const base::Feature kNTPSnippetsFeature { |
| 60 "NTPSnippets", base::FEATURE_DISABLED_BY_DEFAULT | 61 "NTPSnippets", base::FEATURE_DISABLED_BY_DEFAULT |
| 61 }; | 62 }; |
| 62 | 63 |
| 63 const base::Feature kNTPToolbarFeature { | 64 const base::Feature kNTPToolbarFeature { |
| 64 "NTPToolbar", base::FEATURE_ENABLED_BY_DEFAULT | 65 "NTPToolbar", base::FEATURE_ENABLED_BY_DEFAULT |
| 65 }; | 66 }; |
| 66 | 67 |
| 68 const base::Feature kNTPTransparentDoodle { | |
| 69 "NTPTransparentDoodle", base::FEATURE_DISABLED_BY_DEFAULT | |
| 70 }; | |
| 71 | |
| 67 const base::Feature kNTPFakeOmniboxTextFeature { | 72 const base::Feature kNTPFakeOmniboxTextFeature { |
| 68 "NTPFakeOmniboxText", base::FEATURE_DISABLED_BY_DEFAULT | 73 "NTPFakeOmniboxText", base::FEATURE_DISABLED_BY_DEFAULT |
| 69 }; | 74 }; |
| 70 | 75 |
| 71 const base::Feature kPhysicalWebFeature { | 76 const base::Feature kPhysicalWebFeature { |
| 72 "PhysicalWeb", base::FEATURE_ENABLED_BY_DEFAULT | 77 "PhysicalWeb", base::FEATURE_ENABLED_BY_DEFAULT |
| 73 }; | 78 }; |
| 74 | 79 |
| 75 const base::Feature kSystemDownloadManager { | 80 const base::Feature kSystemDownloadManager { |
| 76 "SystemDownloadManager", base::FEATURE_ENABLED_BY_DEFAULT | 81 "SystemDownloadManager", base::FEATURE_ENABLED_BY_DEFAULT |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 88 NOTREACHED(); | 93 NOTREACHED(); |
| 89 return false; | 94 return false; |
| 90 } | 95 } |
| 91 | 96 |
| 92 bool RegisterChromeFeatureListJni(JNIEnv* env) { | 97 bool RegisterChromeFeatureListJni(JNIEnv* env) { |
| 93 return RegisterNativesImpl(env); | 98 return RegisterNativesImpl(env); |
| 94 } | 99 } |
| 95 | 100 |
| 96 } // namespace android | 101 } // namespace android |
| 97 } // namespace chrome | 102 } // namespace chrome |
| OLD | NEW |