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

Unified 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: Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/login/lock_screen_controller.cc ('k') | ash/login/ui/lock_screen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/login/ui/lock_screen.h
diff --git a/ash/login/ui/lock_screen.h b/ash/login/ui/lock_screen.h
index fcccca615ae29945b5f6c25c0a8ecbde3d25fc2a..c22164770201b0da40d65c2cffeefe89952b6a6b 100644
--- a/ash/login/ui/lock_screen.h
+++ b/ash/login/ui/lock_screen.h
@@ -15,6 +15,9 @@ namespace ash {
// The lock screen communicates with the backend C++ via a mojo API.
ASH_EXPORT bool ShowLockScreen();
+// Destroys the lock screen. There must be an existing lock screen instance.
+ASH_EXPORT void DestroyLockScreen();
xiyuan 2017/06/05 20:39:33 I would prefer to expose ShowLockScreen and Destro
jdufault 2017/06/06 21:48:43 I've changed the approach to go through mojo. I've
+
} // namespace ash
#endif // ASH_LOGIN_UI_LOCK_SCREEN_H_
« no previous file with comments | « ash/login/lock_screen_controller.cc ('k') | ash/login/ui/lock_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698