Chromium Code Reviews| Index: chrome/browser/android/chrome_feature_list.cc |
| diff --git a/chrome/browser/android/chrome_feature_list.cc b/chrome/browser/android/chrome_feature_list.cc |
| index 0f9705fff70df981df9e574da2e46e6981fdf8a7..b8ef37901fe19da01ddd75880def384b7dbdb83b 100644 |
| --- a/chrome/browser/android/chrome_feature_list.cc |
| +++ b/chrome/browser/android/chrome_feature_list.cc |
| @@ -51,6 +51,7 @@ const base::Feature* kFeaturesExposedToJava[] = { |
| &kSpecialLocaleFeature, |
| &kSpecialLocaleWrapper, |
| &kTabReparenting, |
| + &kWebApks, |
| &kCCTExternalLinkHandling, |
| &offline_pages::kOfflinePagesBackgroundLoadingFeature, |
| &offline_pages::kBackgroundLoaderForDownloadsFeature, |
| @@ -103,6 +104,12 @@ const base::Feature kCCTExternalLinkHandling{"CCTExternalLinkHandling", |
| const base::Feature kUserMediaScreenCapturing{ |
| "UserMediaScreenCapturing", base::FEATURE_DISABLED_BY_DEFAULT}; |
| +// Makes "Add to Home screen" in the app menu generate an APK for the shortcut |
| +// URL which opens Chrome in fullscreen. |
| +// For WebAPKs to be enabled, the WebAPK feature must be enabled and the |
| +// --enable-webapk command line flag must be set. |
|
pkotwicz
2016/10/24 04:24:28
The reason that I added the comment about the --en
dominickn
2016/10/24 04:35:47
Oh, I didn't notice that ENABLED_BY_DEFAULT (featu
pkotwicz
2016/10/24 15:33:26
I have disabled the feature by default as you have
dominickn
2016/10/25 00:13:32
Random developers can try it out by passing --enab
|
| +const base::Feature kWebApks{"WebApks", base::FEATURE_ENABLED_BY_DEFAULT}; |
| + |
| static jboolean IsEnabled(JNIEnv* env, |
| const JavaParamRef<jclass>& clazz, |
| const JavaParamRef<jstring>& jfeature_name) { |