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

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

Issue 2929273002: Add the Play Store app search to the launcher. (Closed)
Patch Set: Return a list of app search results at once. Created 3 years, 6 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: 20 5 // Next MinVersion: 20
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 import "app_discovery_result.mojom";
11 12
12 // Describes OrientationLock request. 13 // Describes OrientationLock request.
13 // Note: ChromeOS currently assumes the internal panel is always landscape. 14 // Note: ChromeOS currently assumes the internal panel is always landscape.
14 // All rotation angles mentioned here are measured clockwise. 15 // All rotation angles mentioned here are measured clockwise.
15 [Extensible] 16 [Extensible]
16 enum OrientationLock { 17 enum OrientationLock {
17 NONE = 0, 18 NONE = 0,
18 // Rotated 90 or 270 deg. 19 // Rotated 90 or 270 deg.
19 PORTRAIT = 1, 20 PORTRAIT = 1,
20 // Rotated 0 or 180 deg. 21 // Rotated 0 or 180 deg.
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 [MinVersion=10] ShowPackageInfoOnPage@15(string package_name, 227 [MinVersion=10] ShowPackageInfoOnPage@15(string package_name,
227 ShowPackageInfoPage page, 228 ShowPackageInfoPage page,
228 ScreenRect dimension_on_screen); 229 ScreenRect dimension_on_screen);
229 230
230 // Sets notification setting for the package. 231 // Sets notification setting for the package.
231 [MinVersion=6] SetNotificationsEnabled@10(string package_name, bool enabled); 232 [MinVersion=6] SetNotificationsEnabled@10(string package_name, bool enabled);
232 233
233 // Sends a request to ARC to uninstall the given package. Error (if ever 234 // Sends a request to ARC to uninstall the given package. Error (if ever
234 // happens) is ignored, and uninstall option should appear in the UI. 235 // happens) is ignored, and uninstall option should appear in the UI.
235 [MinVersion=2] UninstallPackage@5(string package_name); 236 [MinVersion=2] UninstallPackage@5(string package_name);
237
238 // Starts a query for Playstore apps.
Luis Héctor Chávez 2017/06/15 15:37:25 nit: Play Store.
Jiaquan He 2017/06/15 19:23:30 Done.
239 [MinVersion=18] GetRecentAndSuggestedApps@16(
Luis Héctor Chávez 2017/06/15 15:37:25 I think it's better to explicitly mention that thi
Jiaquan He 2017/06/15 19:23:31 Done.
240 string query, int32 max_results) =>
241 (array<AppDiscoveryResult> results);
236 }; 242 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698