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

Unified Diff: chrome/browser/ui/ash/session_controller_client.cc

Issue 2801333002: mash: Run pre-unlock animation via SessionController (Closed)
Patch Set: rebase Created 3 years, 8 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 | « chrome/browser/ui/ash/session_controller_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/session_controller_client.cc
diff --git a/chrome/browser/ui/ash/session_controller_client.cc b/chrome/browser/ui/ash/session_controller_client.cc
index 400cb9c79ded362465f9b7a065065be9f79c89db..696beea7bbe550cc7a42cb7011e68df6d4717842 100644
--- a/chrome/browser/ui/ash/session_controller_client.cc
+++ b/chrome/browser/ui/ash/session_controller_client.cc
@@ -100,6 +100,16 @@ SessionControllerClient::~SessionControllerClient() {
UserManager::Get()->RemoveSessionStateObserver(this);
}
+// static
+SessionControllerClient* SessionControllerClient::Get() {
+ return g_instance;
+}
+
+void SessionControllerClient::RunUnlockAnimation(
+ base::Closure animation_finished_callback) {
+ session_controller_->RunUnlockAnimation(animation_finished_callback);
+}
+
void SessionControllerClient::RequestLockScreen() {
DoLockScreen();
}
« no previous file with comments | « chrome/browser/ui/ash/session_controller_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698