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

Unified Diff: ash/session/session_controller.cc

Issue 2836163002: mash: Shell ref clean up for screen lock (Closed)
Patch Set: rebase, fix compile 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 | « ash/session/session_controller.h ('k') | chrome/browser/chromeos/login/lock/screen_locker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/session/session_controller.cc
diff --git a/ash/session/session_controller.cc b/ash/session/session_controller.cc
index d7adb2f6e4f762748a9e519168863e1cd1ec57cd..1e12bb17edc42171f5c4977b42b434a30c7eca74 100644
--- a/ash/session/session_controller.cc
+++ b/ash/session/session_controller.cc
@@ -8,6 +8,7 @@
#include "ash/session/session_observer.h"
#include "ash/shell.h"
+#include "ash/system/power/power_event_observer.h"
#include "ash/wm/lock_state_controller.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
@@ -242,6 +243,10 @@ void SessionController::StartLock(const StartLockCallback& callback) {
lock_state_controller->OnStartingLock();
}
+void SessionController::NotifyChromeLockAnimationsComplete() {
+ Shell::Get()->power_event_observer()->OnLockAnimationsComplete();
+}
+
void SessionController::RunUnlockAnimation(
const RunUnlockAnimationCallback& callback) {
is_unlocking_ = true;
« no previous file with comments | « ash/session/session_controller.h ('k') | chrome/browser/chromeos/login/lock/screen_locker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698