Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(382)

Unified Diff: components/arc/common/app.mojom

Issue 2894443002: arc: Set custom icon in shelf for ARC apps. (Closed)
Patch Set: rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/arc/common/app.mojom
diff --git a/components/arc/common/app.mojom b/components/arc/common/app.mojom
index 5d6045ba2cbe04f4f186e53bdbe08a4a77fe9c68..6348d52517e4851ebe484d466b77707bf5585eb3 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: 19
+// Next MinVersion: 20
module arc.mojom;
@@ -75,7 +75,7 @@ enum ShowPackageInfoPage {
MANAGE_LINKS = 1,
};
-// Next method ID: 17
+// 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.
@@ -122,9 +122,18 @@ interface AppHost {
[MinVersion=13] string? name@3,
[MinVersion=15] string? intent@4);
+ // Sends task label and icon.
+ [MinVersion=19] OnTaskDescriptionUpdated@17(int32 task_id,
+ string label,
+ array<uint8> icon_png_data);
+
// Notifies that task has been destroyed.
[MinVersion=4] OnTaskDestroyed@5(int32 task_id);
+ // Notifies that task requested orientation lock.
+ [MinVersion=12] OnTaskOrientationLockRequested@12(int32 task_id,
+ OrientationLock lock);
+
// Notifies that task has been activated.
[MinVersion=4] OnTaskSetActive@6(int32 task_id);
@@ -145,10 +154,6 @@ interface AppHost {
[MinVersion=16] OnInstallationFinished@15(
[MinVersion=17] InstallationResult? result@1);
- // Notifies that task requested orientation lock.
- [MinVersion=12] OnTaskOrientationLockRequested@12(int32 task_id,
- OrientationLock lock);
-
// Notifies that an application shortcut needs to be deleted. Shortcut is
// defined by its |intent_uri| and |package_name|.
[MinVersion=18] OnUninstallShortcut@16(string package_name,
« no previous file with comments | « chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc ('k') | components/arc/test/fake_app_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698