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

Unified Diff: ash/wm/power_button_controller.cc

Issue 10008074: Cancel partial screenshot UI when lock happens. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: ash/wm/power_button_controller.cc
diff --git a/ash/wm/power_button_controller.cc b/ash/wm/power_button_controller.cc
index aadedaaaf560328581b7d29dda86497e7a311ce8..d8c4c0fd44524e52e9c6fb22e91c4c3a5f39aea2 100644
--- a/ash/wm/power_button_controller.cc
+++ b/ash/wm/power_button_controller.cc
@@ -290,12 +290,12 @@ PowerButtonController::PowerButtonController()
PowerButtonController::~PowerButtonController() {
}
-void PowerButtonController::OnLoginStateChange(bool logged_in, bool is_guest) {
+void PowerButtonController::OnLoginStateChanged(bool logged_in, bool is_guest) {
logged_in_ = logged_in;
is_guest_ = is_guest;
}
-void PowerButtonController::OnExit() {
+void PowerButtonController::OnAppTerminating() {
// If we hear that Chrome is exiting but didn't request it ourselves, all we
// can really hope for is that we'll have time to clear the screen.
if (!shutting_down_) {
@@ -308,7 +308,7 @@ void PowerButtonController::OnExit() {
}
}
-void PowerButtonController::OnLockStateChange(bool locked) {
+void PowerButtonController::OnLockStateChanged(bool locked) {
if (shutting_down_ || locked_ == locked)
return;

Powered by Google App Engine
This is Rietveld 408576698