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

Unified Diff: ash/login/views/lock_screen.h

Issue 2867173003: cros: Move LockWindow from chrome to ash (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
Index: ash/login/views/lock_screen.h
diff --git a/ash/login/views/lock_screen.h b/ash/login/views/lock_screen.h
index 41a57058145ec0219697799e926fdd6706c30697..7590a76a6dbc79746fae6b8f046edd73822a4723 100644
--- a/ash/login/views/lock_screen.h
+++ b/ash/login/views/lock_screen.h
@@ -7,16 +7,13 @@
#include "ash/ash_export.h"
-namespace views {
-class Widget;
-}
-
namespace ash {
-// Fills the given widget with the lock screen view and displays it.
+// Creates and displays the lock screen. Returns true if the lock screen was
+// displayed.
//
// The lock screen communicates with the backend C++ via a mojo API.
-ASH_EXPORT void ShowLockScreenInWidget(views::Widget* widget);
+ASH_EXPORT bool ShowLockScreen();
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698