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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkBuilder.java

Issue 2031213004: Upstream: Create WebAPK when user selects "Add to Home screen" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
(Empty)
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
3 // found in the LICENSE file.
4
5 package org.chromium.chrome.browser.webapps;
6
7 import android.graphics.Bitmap;
8
9 /**
10 * Interface for building WebAPKs.
11 */
12 public interface WebApkBuilder {
13 /**
14 * Asynchronously build WebAPK.
15 * @param startUrl: The url that the WebAPK should navigate to when launched from the app list.
16 * @param scope: Navigations from the WebAPK to URLs with sub-origin {@link scope} will stay
gone 2016/06/07 17:46:17 indent this so that "within" is aligned with "Navi
17 * within the WebAPK.
18 * @param appName: Name for the app list.
19 * @param icon: Icon for the app list.
20 */
21 public void buildWebApkAsync(String startUrl, String scope, String appName, Bitmap appIcon);
gone 2016/06/07 17:46:17 interface methods are automatically public. Remov
22 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698