Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7826)

Unified Diff: chrome/common/chrome_switches.cc

Issue 1969303002: Upstream WebAPK notification related code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index cddfdc5f59259afc115b91cb1ea9f501014a052d..a5f1812feb17676407bcfd787b92dfee8b4ea4bb 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -557,6 +557,14 @@ const char kEnableUserAlternateProtocolPorts[] =
// apps).
const char kEnableWebAppFrame[] = "enable-web-app-frame";
+#if defined(OS_ANDROID)
+// Enables "Add to Home screen" in the app menu to generate WebAPKs. WebAPKs are
+// app-like home screen shortcuts.
+// - WebAPKs show up in the app list.
+// - Chrome supports deep linking to WebAPKs.
Peter Beverloo 2016/05/19 15:59:01 With my command-line-switches-lister[1]-hat on, do
pkotwicz 2016/05/20 00:45:19 You are right there are better places to document
+const char kEnableWebApk[] = "enable-webapk";
+#endif
+
// Enables Web Notification custom layouts.
const char kEnableWebNotificationCustomLayouts[] =
"enable-web-notification-custom-layouts";

Powered by Google App Engine
This is Rietveld 408576698