OLD | NEW |
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: 4 | 5 // Next MinVersion: 4 |
6 | 6 |
7 module arc; | 7 module arc.mojom; |
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, |
16 SCALE_FACTOR_150P, | 16 SCALE_FACTOR_150P, |
17 SCALE_FACTOR_180P, | 17 SCALE_FACTOR_180P, |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 96 |
97 // Requests information about task. | 97 // Requests information about task. |
98 [MinVersion=3] GetTaskInfo(int32 task_id) => (string package_name, | 98 [MinVersion=3] GetTaskInfo(int32 task_id) => (string package_name, |
99 string activity); | 99 string activity); |
100 }; | 100 }; |
OLD | NEW |