Chromium Code Reviews| Index: components/arc/common/app.mojom |
| diff --git a/components/arc/common/app.mojom b/components/arc/common/app.mojom |
| index 5bd5add137376fdd175d071d122c26a103bc1cfd..1d235140041e65debd92f3c912d3a4146979ea00 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: 8 |
| +// Next MinVersion: 9 |
| module arc.mojom; |
| @@ -18,6 +18,12 @@ struct AppInfo { |
| [MinVersion=7] bool notifications_enabled; |
| }; |
| +// Page for ShowPackageInfoOnPage. |
| +enum ShowPackageInfoPage { |
|
Yusuke Sato
2016/06/20 05:00:26
You probably want to add [Extensible] here so you
mtomasz
2016/06/20 05:14:58
Done.
|
| + MAIN = 0, |
| + MANAGE_LINKS = 1, |
| +}; |
| + |
| // Next method ID: 8 |
| interface AppHost { |
| // Sends newly added ARC app to Chrome. This message is sent when ARC receives |
| @@ -58,7 +64,8 @@ interface AppHost { |
| }; |
| // TODO(lhchavez): Migrate all request/response messages to Mojo. |
| -// Next method ID: 11 |
| +// Next method ID: 12 |
| +// Deprecated method ID: 9 |
| interface AppInstance { |
| Init@0(AppHost host_ptr); |
| @@ -97,9 +104,16 @@ interface AppInstance { |
| [MinVersion=4] SetTaskActive@7(int32 task_id); |
| // Send a request to ARC to show package info for given package. |
| + // Deprecated. |
| [MinVersion=5] ShowPackageInfo@9(string package_name, |
|
Yusuke Sato
2016/06/20 05:00:26
Can you rename this to ShowPackageInfoDeprecated@9
mtomasz
2016/06/20 05:14:58
Done.
|
| ScreenRect dimension_on_screen); |
| + // Send a request to ARC to show package info for given package on the |
| + // specified page. |
| + [MinVersion=8] ShowPackageInfoOnPage@11(string package_name, |
| + ShowPackageInfoPage page, |
| + ScreenRect dimension_on_screen); |
| + |
| // Sets notification setting for the package. |
| [MinVersion=6] SetNotificationsEnabled@10(string package_name, bool enabled); |