Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 } | |
| OLD | NEW |