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

Side by Side Diff: components/arc/common/app.mojom

Issue 2257923002: arc: Handle non-launchable apps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Next MinVersion: 13 5 // Next MinVersion: 14
6 6
7 module arc.mojom; 7 module arc.mojom;
8 8
9 import "scale_factor.mojom"; 9 import "scale_factor.mojom";
10 import "screen_rect.mojom"; 10 import "screen_rect.mojom";
11 11
12 // Describes OrientationLock request. 12 // Describes OrientationLock request.
13 [Extensible] 13 [Extensible]
14 enum OrientationLock { 14 enum OrientationLock {
15 NONE = 0, 15 NONE = 0,
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // Notifies that a package has been modified. 84 // Notifies that a package has been modified.
85 [MinVersion=8] OnPackageModified@10(ArcPackageInfo arcPackageInfo); 85 [MinVersion=8] OnPackageModified@10(ArcPackageInfo arcPackageInfo);
86 86
87 // Sends removed ARC package to Chrome. |package_name| must contain non-empty 87 // Sends removed ARC package to Chrome. |package_name| must contain non-empty
88 // string. This message is sent when ARC receives package removed 88 // string. This message is sent when ARC receives package removed
89 // notification. Removing one package can potentially remove more than one 89 // notification. Removing one package can potentially remove more than one
90 // app. 90 // app.
91 [MinVersion=1] OnPackageRemoved@3(string package_name); 91 [MinVersion=1] OnPackageRemoved@3(string package_name);
92 92
93 // Sends information about newly created task. 93 // Sends information about newly created task.
94 [MinVersion=4] OnTaskCreated@4(int32 task_id, string package_name, 94 [MinVersion=4] OnTaskCreated@4(int32 task_id@0,
95 string activity); 95 string package_name@1,
96 string activity@2,
97 [MinVersion=13] string? name@3);
96 98
97 // Notifies that task has been destroyed. 99 // Notifies that task has been destroyed.
98 [MinVersion=4] OnTaskDestroyed@5(int32 task_id); 100 [MinVersion=4] OnTaskDestroyed@5(int32 task_id);
99 101
100 // Notifies that task has been activated. 102 // Notifies that task has been activated.
101 [MinVersion=4] OnTaskSetActive@6(int32 task_id); 103 [MinVersion=4] OnTaskSetActive@6(int32 task_id);
102 104
103 // Notifies that notifications enabled settings in Android is changed. 105 // Notifies that notifications enabled settings in Android is changed.
104 [MinVersion=7] OnNotificationsEnabledChanged@7(string package_name, 106 [MinVersion=7] OnNotificationsEnabledChanged@7(string package_name,
105 bool enabled); 107 bool enabled);
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 ShowPackageInfoPage page, 181 ShowPackageInfoPage page,
180 ScreenRect dimension_on_screen); 182 ScreenRect dimension_on_screen);
181 183
182 // Sets notification setting for the package. 184 // Sets notification setting for the package.
183 [MinVersion=6] SetNotificationsEnabled@10(string package_name, bool enabled); 185 [MinVersion=6] SetNotificationsEnabled@10(string package_name, bool enabled);
184 186
185 // Sends a request to ARC to uninstall the given package. Error (if ever 187 // Sends a request to ARC to uninstall the given package. Error (if ever
186 // happens) is ignored, and uninstall option should appear in the UI. 188 // happens) is ignored, and uninstall option should appear in the UI.
187 [MinVersion=2] UninstallPackage@5(string package_name); 189 [MinVersion=2] UninstallPackage@5(string package_name);
188 }; 190 };
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/launcher/launcher_context_menu_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