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 /** | 5 /** |
6 * @fileoverview | 6 * @fileoverview |
7 * 'settings-user-list' shows a list of users whitelisted on this Chrome OS | 7 * 'settings-user-list' shows a list of users whitelisted on this Chrome OS |
8 * device. | 8 * device. |
9 * | 9 * |
10 * Example: | 10 * Example: |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 chrome.usersPrivate.removeWhitelistedUser( | 62 chrome.usersPrivate.removeWhitelistedUser( |
63 e.model.item.email, /* callback */ function() {}); | 63 e.model.item.email, /* callback */ function() {}); |
64 }, | 64 }, |
65 | 65 |
66 /** @private */ | 66 /** @private */ |
67 shouldHideCloseButton_: function(disabled, isUserOwner) { | 67 shouldHideCloseButton_: function(disabled, isUserOwner) { |
68 return disabled || isUserOwner; | 68 return disabled || isUserOwner; |
69 } | 69 } |
70 }); | 70 }); |
71 | 71 |
OLD | NEW |