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

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 s cope} will stay
17 * within the WebAPK.
18 * @param appName Name for the app list.
19 * @param icon Icon for the app list.
20 */
21 void buildWebApkAsync(String startUrl, String scope, String appName, Bitmap appIcon);
22 }
OLDNEW
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/ShortcutHelper.java ('k') | chrome/android/java_sources.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698