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..99bbd0e7226566f65576c91df2e8d07a364dd32a 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,13 @@ struct AppInfo { |
| [MinVersion=7] bool notifications_enabled; |
| }; |
| +// Page for ShowPackageInfoOnPage. |
| +[Extensible] |
| +enum ShowPackageInfoPage { |
| + MAIN = 0, |
| + MANAGE_LINKS = 1, |
|
dcheng
2016/06/20 15:31:45
Perhaps explain what these different values mean?
mtomasz
2016/06/21 00:38:20
Done.
|
| +}; |
| + |
| // Next method ID: 8 |
| interface AppHost { |
| // Sends newly added ARC app to Chrome. This message is sent when ARC receives |
| @@ -58,7 +65,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 +105,15 @@ interface AppInstance { |
| [MinVersion=4] SetTaskActive@7(int32 task_id); |
| // Send a request to ARC to show package info for given package. |
| - [MinVersion=5] ShowPackageInfo@9(string package_name, |
| + [MinVersion=5] ShowPackageInfoDeprecated@9(string package_name, |
| 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); |