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. | |
gone
2016/06/07 22:59:43
Javadocs don't add colons after argument names
pkotwicz
2016/06/08 02:06:45
Done.
| |
16 * @param scope: Navigations from the WebAPK to URLs with sub-origin {@link scope} 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 } | |
OLD | NEW |