Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Side by Side Diff: ash/login/ui/lock_screen.h

Issue 2896093003: cros: Make sure views-based lock screen is destroyed after it is dismissed. (Closed)
Patch Set: Address comments Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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();
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698