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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 package org.chromium.webapk.lib.common; 5 package org.chromium.webapk.lib.common;
6 6
7 /** 7 /**
8 * Stores WebAPK related constants. 8 * Stores WebAPK related constants.
9 */ 9 */
10 public final class WebApkConstants { 10 public final class WebApkConstants {
11 public static final String WEBAPK_PACKAGE_PREFIX = "org.chromium.webapk"; 11 public static final String WEBAPK_PACKAGE_PREFIX = "org.chromium.webapk";
12 12
13 // WebAPK id prefix. The id is used for storing WebAPK data in Chrome's Shar edPreferences. 13 // WebAPK id prefix. The id is used for storing WebAPK data in Chrome's Shar edPreferences.
14 public static final String WEBAPK_ID_PREFIX = "webapk:"; 14 public static final String WEBAPK_ID_PREFIX = "webapk:";
15 15
16 // These EXTRA_* values must stay in sync with 16 // These EXTRA_* values must stay in sync with
17 // {@link org.chromium.chrome.browser.ShortcutHelper}. 17 // {@link org.chromium.chrome.browser.ShortcutHelper}.
18 public static final String EXTRA_ID = "org.chromium.chrome.browser.webapp_id ";
19 public static final String EXTRA_URL = "org.chromium.chrome.browser.webapp_u rl"; 18 public static final String EXTRA_URL = "org.chromium.chrome.browser.webapp_u rl";
20 public static final String EXTRA_SOURCE = "org.chromium.chrome.browser.webap p_source"; 19 public static final String EXTRA_SOURCE = "org.chromium.chrome.browser.webap p_source";
21 public static final String EXTRA_WEBAPK_PACKAGE_NAME = 20 public static final String EXTRA_WEBAPK_PACKAGE_NAME =
22 "org.chromium.chrome.browser.webapk_package_name"; 21 "org.chromium.chrome.browser.webapk_package_name";
22 // Whether the WebAPK should navigate to the URL in {@link EXTRA_URL} if the WebAPK is already
23 // open.
24 public static final String EXTRA_WEBAPK_FORCE_NAVIGATION =
25 "org.chromium.chrome.browser.webapk_force_navigation";
23 } 26 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698