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 15 matching lines...) Expand all Loading... | |
26 | 26 |
27 // Array of features exposed through the Java ChromeFeatureList API. Entries in | 27 // Array of features exposed through the Java ChromeFeatureList API. Entries in |
28 // this array may either refer to features defined in the header of this file or | 28 // this array may either refer to features defined in the header of this file or |
29 // in other locations in the code base (e.g. chrome/, components/, etc). | 29 // in other locations in the code base (e.g. chrome/, components/, etc). |
30 const base::Feature* kFeaturesExposedToJava[] = { | 30 const base::Feature* kFeaturesExposedToJava[] = { |
31 &features::kAutoplayMutedVideos, | 31 &features::kAutoplayMutedVideos, |
32 &features::kCredentialManagementAPI, | 32 &features::kCredentialManagementAPI, |
33 &features::kSimplifiedFullscreenUI, | 33 &features::kSimplifiedFullscreenUI, |
34 &features::kWebPayments, | 34 &features::kWebPayments, |
35 &kAndroidPayIntegrationV1, | 35 &kAndroidPayIntegrationV1, |
36 &password_manager::features::kViewPasswords, | |
vabr (Chromium)
2016/07/26 20:03:18
Please remove this duplicated line.
dozsa
2016/07/27 19:04:45
Done.
| |
36 &kImportantSitesInCBD, | 37 &kImportantSitesInCBD, |
37 &kNTPFakeOmniboxTextFeature, | 38 &kNTPFakeOmniboxTextFeature, |
38 &kNTPMaterialDesign, | 39 &kNTPMaterialDesign, |
39 &kNTPOfflinePagesFeature, | 40 &kNTPOfflinePagesFeature, |
40 &kNTPOfflinePageSuggestionsFeature, | 41 &kNTPOfflinePageSuggestionsFeature, |
41 &kNTPSnippetsFeature, | 42 &kNTPSnippetsFeature, |
42 &kNTPToolbarFeature, | 43 &kNTPToolbarFeature, |
43 &kPhysicalWebFeature, | 44 &kPhysicalWebFeature, |
44 &kPhysicalWebIgnoreOtherClientsFeature, | 45 &kPhysicalWebIgnoreOtherClientsFeature, |
45 &kReadItLaterInMenu, | 46 &kReadItLaterInMenu, |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
105 NOTREACHED(); | 106 NOTREACHED(); |
106 return false; | 107 return false; |
107 } | 108 } |
108 | 109 |
109 bool RegisterChromeFeatureListJni(JNIEnv* env) { | 110 bool RegisterChromeFeatureListJni(JNIEnv* env) { |
110 return RegisterNativesImpl(env); | 111 return RegisterNativesImpl(env); |
111 } | 112 } |
112 | 113 |
113 } // namespace android | 114 } // namespace android |
114 } // namespace chrome | 115 } // namespace chrome |
OLD | NEW |