Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 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 | 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 #ifndef ASH_LOGIN_UI_LOCK_SCREEN_H_ | 5 #ifndef ASH_LOGIN_UI_LOCK_SCREEN_H_ |
| 6 #define ASH_LOGIN_UI_LOCK_SCREEN_H_ | 6 #define ASH_LOGIN_UI_LOCK_SCREEN_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 | 9 |
| 10 namespace ash { | 10 namespace ash { |
| 11 | 11 |
| 12 // Creates and displays the lock screen. Returns true if the lock screen was | 12 // Creates and displays the lock screen. Returns true if the lock screen was |
| 13 // displayed. | 13 // displayed. |
| 14 // | 14 // |
| 15 // The lock screen communicates with the backend C++ via a mojo API. | 15 // The lock screen communicates with the backend C++ via a mojo API. |
| 16 ASH_EXPORT bool ShowLockScreen(); | 16 ASH_EXPORT bool ShowLockScreen(); |
|
James Cook
2017/06/08 19:47:13
optional: I think this would be more readable if i
jdufault
2017/06/08 22:23:14
Added TODO
| |
| 17 | 17 |
| 18 // Destroys the lock screen. There must be an existing lock screen instance. | |
| 19 ASH_EXPORT void DestroyLockScreen(); | |
| 20 | |
| 18 } // namespace ash | 21 } // namespace ash |
| 19 | 22 |
| 20 #endif // ASH_LOGIN_UI_LOCK_SCREEN_H_ | 23 #endif // ASH_LOGIN_UI_LOCK_SCREEN_H_ |
| OLD | NEW |