| // Copyright 2018 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| module ash.mojom; |
| |
| import "components/account_id/interfaces/account_id.mojom"; |
| |
| // Provides a high-level test API for controlling the login/lock screen. |
| interface LoginScreenTestApi { |
| // Returns true if the lock screen is currently being shown. |
| IsLockShown() => (bool is_shown); |
| |
| // Returns true if the login shelf is currently being shown. |
| IsLoginShelfShown() => (bool is_shown); |
| |
| // Submit |password| for |account_id|. |
| SubmitPassword(signin.mojom.AccountId account_id, string password) => (); |
| }; |