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

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

Issue 2259033002: Revert of 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: 14 5 // Next MinVersion: 13
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@0, 94 [MinVersion=4] OnTaskCreated@4(int32 task_id, string package_name,
95 string package_name@1, 95 string activity);
96 string activity@2,
97 [MinVersion=13] string? name@3);
98 96
99 // Notifies that task has been destroyed. 97 // Notifies that task has been destroyed.
100 [MinVersion=4] OnTaskDestroyed@5(int32 task_id); 98 [MinVersion=4] OnTaskDestroyed@5(int32 task_id);
101 99
102 // Notifies that task has been activated. 100 // Notifies that task has been activated.
103 [MinVersion=4] OnTaskSetActive@6(int32 task_id); 101 [MinVersion=4] OnTaskSetActive@6(int32 task_id);
104 102
105 // Notifies that notifications enabled settings in Android is changed. 103 // Notifies that notifications enabled settings in Android is changed.
106 [MinVersion=7] OnNotificationsEnabledChanged@7(string package_name, 104 [MinVersion=7] OnNotificationsEnabledChanged@7(string package_name,
107 bool enabled); 105 bool enabled);
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 ShowPackageInfoPage page, 179 ShowPackageInfoPage page,
182 ScreenRect dimension_on_screen); 180 ScreenRect dimension_on_screen);
183 181
184 // Sets notification setting for the package. 182 // Sets notification setting for the package.
185 [MinVersion=6] SetNotificationsEnabled@10(string package_name, bool enabled); 183 [MinVersion=6] SetNotificationsEnabled@10(string package_name, bool enabled);
186 184
187 // Sends a request to ARC to uninstall the given package. Error (if ever 185 // Sends a request to ARC to uninstall the given package. Error (if ever
188 // happens) is ignored, and uninstall option should appear in the UI. 186 // happens) is ignored, and uninstall option should appear in the UI.
189 [MinVersion=2] UninstallPackage@5(string package_name); 187 [MinVersion=2] UninstallPackage@5(string package_name);
190 }; 188 };
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