Chromium Code Reviews| Index: components/arc/common/app.mojom |
| diff --git a/components/arc/common/app.mojom b/components/arc/common/app.mojom |
| index 2cad0d419ed0dd4e34a3763d1d17f2819ba98103..92a29326a3b6b029d6c4616ffa94d84d74f44a48 100644 |
| --- a/components/arc/common/app.mojom |
| +++ b/components/arc/common/app.mojom |
| @@ -2,7 +2,7 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| // |
| -// Next MinVersion: 16 |
| +// Next MinVersion: 17 |
| module arc.mojom; |
| @@ -69,7 +69,7 @@ enum ShowPackageInfoPage { |
| MANAGE_LINKS = 1, |
| }; |
| -// Next method ID: 14 |
| +// Next method ID: 18 |
| interface AppHost { |
| // Sends newly added ARC app to Chrome. This message is sent when ARC receives |
| // package added notification. Multiple apps may be added in the one package. |
| @@ -129,6 +129,26 @@ interface AppHost { |
| // Notifies that an application shortcut needs to be created. |
| [MinVersion=9] OnInstallShortcut@11(ShortcutInfo shortcut); |
| + // Notifies that Play Store installation has been started. |name| specifies name |
|
xiyuan
2016/12/15 22:07:21
nit: wrap
khmel
2016/12/16 00:35:30
Done
|
| + // of installation and |package_name| specifies installation package. |
| + [MinVersion=16] OnInstallationStarted@14(string name@0, |
| + string package_name@1); |
| + |
| + // Notifies that Play Store active installation is changed. |package_name| |
| + // specifies installation which becomes active. |
| + [MinVersion=16] OnInstallationSetActive@15(string package_name@0); |
| + |
| + // Notifies that Play Store installation progress. |package_name| specifies |
| + // installation package and |progress| current progress. |
| + [MinVersion=16] OnInstallationProgress@16(string package_name@0, |
| + float progress@1); |
| + |
| + // Notifies that Play Store installation is finished. |package_name| specifies |
| + // installation package and |success| contains true if installation has |
| + // completed successfully. |
| + [MinVersion=16] OnInstallationFinished@17(string package_name@0, |
| + bool success@1); |
| + |
| // Notifies that task requested orientation lock. |
| [MinVersion=12] OnTaskOrientationLockRequested@12(int32 task_id, |
| OrientationLock lock); |