| 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 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 namespace { | 24 namespace { |
| 25 | 25 |
| 26 // Array of features exposed through the Java ChromeFeatureList API. Entries in | 26 // Array of features exposed through the Java ChromeFeatureList API. Entries in |
| 27 // this array may either refer to features defined in the header of this file or | 27 // this array may either refer to features defined in the header of this file or |
| 28 // in other locations in the code base (e.g. chrome/, components/, etc). | 28 // in other locations in the code base (e.g. chrome/, components/, etc). |
| 29 const base::Feature* kFeaturesExposedToJava[] = { | 29 const base::Feature* kFeaturesExposedToJava[] = { |
| 30 &features::kAutoplayMutedVideos, | 30 &features::kAutoplayMutedVideos, |
| 31 &features::kCredentialManagementAPI, | 31 &features::kCredentialManagementAPI, |
| 32 &features::kSimplifiedFullscreenUI, | 32 &features::kSimplifiedFullscreenUI, |
| 33 &features::kWebPayments, |
| 33 &kAndroidPayIntegrationV1, | 34 &kAndroidPayIntegrationV1, |
| 34 &kImportantSitesInCBD, | 35 &kImportantSitesInCBD, |
| 35 &kMediaStyleNotification, | 36 &kMediaStyleNotification, |
| 36 &kNTPFakeOmniboxTextFeature, | 37 &kNTPFakeOmniboxTextFeature, |
| 37 &kNTPMaterialDesign, | 38 &kNTPMaterialDesign, |
| 38 &kNTPOfflinePagesFeature, | 39 &kNTPOfflinePagesFeature, |
| 39 &kNTPSnippetsFeature, | 40 &kNTPSnippetsFeature, |
| 40 &kNTPToolbarFeature, | 41 &kNTPToolbarFeature, |
| 41 &kPhysicalWebFeature, | 42 &kPhysicalWebFeature, |
| 42 &kPhysicalWebIgnoreOtherClientsFeature, | 43 &kPhysicalWebIgnoreOtherClientsFeature, |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 NOTREACHED(); | 107 NOTREACHED(); |
| 107 return false; | 108 return false; |
| 108 } | 109 } |
| 109 | 110 |
| 110 bool RegisterChromeFeatureListJni(JNIEnv* env) { | 111 bool RegisterChromeFeatureListJni(JNIEnv* env) { |
| 111 return RegisterNativesImpl(env); | 112 return RegisterNativesImpl(env); |
| 112 } | 113 } |
| 113 | 114 |
| 114 } // namespace android | 115 } // namespace android |
| 115 } // namespace chrome | 116 } // namespace chrome |
| OLD | NEW |