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

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

Issue 1823923002: arc: Support running Arc app in shelf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased + few nits Created 4 years, 8 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
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | components/arc/test/fake_app_instance.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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: 3 5 // Next MinVersion: 4
6 6
7 module arc; 7 module arc;
8 8
9 // Duplicates ui::ScaleFactor enum in order to be accessible on Android side. 9 // Duplicates ui::ScaleFactor enum in order to be accessible on Android side.
10 enum ScaleFactor { 10 enum ScaleFactor {
11 SCALE_FACTOR_NONE = 0, 11 SCALE_FACTOR_NONE = 0,
12 SCALE_FACTOR_100P, 12 SCALE_FACTOR_100P,
13 SCALE_FACTOR_125P, 13 SCALE_FACTOR_125P,
14 SCALE_FACTOR_133P, 14 SCALE_FACTOR_133P,
15 SCALE_FACTOR_140P, 15 SCALE_FACTOR_140P,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 ScaleFactor scale_factor); 86 ScaleFactor scale_factor);
87 87
88 // Query if a given resolution can be handled by the application. Returns true 88 // Query if a given resolution can be handled by the application. Returns true
89 // if it can. 89 // if it can.
90 [MinVersion=1] CanHandleResolution(string package_name, string activity, 90 [MinVersion=1] CanHandleResolution(string package_name, string activity,
91 ScreenRect dimension) => (bool can_handle); 91 ScreenRect dimension) => (bool can_handle);
92 92
93 // Sends a request to ARC to uninstall the given package. Error (if ever 93 // Sends a request to ARC to uninstall the given package. Error (if ever
94 // happens) is ignored, and uninstall option should appear in the UI. 94 // happens) is ignored, and uninstall option should appear in the UI.
95 [MinVersion=2] UninstallPackage(string package_name); 95 [MinVersion=2] UninstallPackage(string package_name);
96
97 // Requests information about task.
98 [MinVersion=3] GetTaskInfo(int32 task_id) => (string package_name,
99 string activity);
96 }; 100 };
OLDNEW
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | components/arc/test/fake_app_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698