OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 module ash.mojom; | |
6 | |
7 import "ash/public/interfaces/user_info.mojom"; | |
8 import "mojo/common/string16.mojom"; | |
9 | |
10 // Supported authentication types. Keep in sync with enum in | |
11 // screenlock_bridge.h | |
12 enum AuthType { | |
13 OFFLINE_PASSWORD, | |
14 ONLINE_SIGN_IN, | |
15 NUMERIC_PIN, | |
16 USER_CLICK, | |
17 EXPAND_THEN_USER_CLICK, | |
18 FORCE_OFFLINE_PASSWORD, | |
19 }; | |
20 | |
21 // Information about the custom icon in the user pod. | |
22 struct UserPodCustomIconOptions { | |
23 string id; | |
24 mojo.common.mojom.String16 tooltip; | |
25 bool autoshow_tooltip; | |
26 mojo.common.mojom.String16 aria_label; | |
27 bool hardlock_on_click; | |
28 bool is_trial_run; | |
29 }; | |
30 | |
31 // Info about a user in login/lock screen. | |
32 struct LoginUserInfo { | |
33 UserInfo basic_user_info; | |
34 bool is_desktop_user; | |
jdufault
2017/06/13 17:41:54
It'd be good to document all of these members, but
xiaoyinh(OOO Sep 11-29)
2017/06/13 22:21:30
Done.
| |
35 AuthType auth_type; | |
36 bool is_signed_in; | |
37 bool is_owner; | |
38 bool allow_fingerprint_unlock; | |
39 bool is_multiprofile_allowed; | |
40 string multiprofile_policy; | |
41 bool can_remove; | |
42 }; | |
OLD | NEW |