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

Unified Diff: chrome/android/webapk/libs/common/src/org/chromium/webapk/lib/common/WebApkConstants.java

Issue 2758193002: [Android WebAPKs] Don't navigate WebAPK when launching it from launcher (Closed)
Patch Set: Merge branch 'master' into twitter Created 3 years, 9 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/android/webapk/libs/common/src/org/chromium/webapk/lib/common/WebApkConstants.java
diff --git a/chrome/android/webapk/libs/common/src/org/chromium/webapk/lib/common/WebApkConstants.java b/chrome/android/webapk/libs/common/src/org/chromium/webapk/lib/common/WebApkConstants.java
index 53c2cb7926d8d91528425c43d0ac22f32a2cbdfb..68433b3fdb53aade4fb923dc91af2468963566d5 100644
--- a/chrome/android/webapk/libs/common/src/org/chromium/webapk/lib/common/WebApkConstants.java
+++ b/chrome/android/webapk/libs/common/src/org/chromium/webapk/lib/common/WebApkConstants.java
@@ -15,9 +15,12 @@ public final class WebApkConstants {
// These EXTRA_* values must stay in sync with
// {@link org.chromium.chrome.browser.ShortcutHelper}.
- public static final String EXTRA_ID = "org.chromium.chrome.browser.webapp_id";
public static final String EXTRA_URL = "org.chromium.chrome.browser.webapp_url";
public static final String EXTRA_SOURCE = "org.chromium.chrome.browser.webapp_source";
public static final String EXTRA_WEBAPK_PACKAGE_NAME =
"org.chromium.chrome.browser.webapk_package_name";
+ // Whether the WebAPK should navigate to the URL in {@link EXTRA_URL} if the WebAPK is already
+ // open.
+ public static final String EXTRA_WEBAPK_FORCE_NAVIGATION =
+ "org.chromium.chrome.browser.webapk_force_navigation";
}

Powered by Google App Engine
This is Rietveld 408576698