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

Unified Diff: chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc

Issue 11185006: Revert 162140 - ash : Decouple power button controller and session state controller. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 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: chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc
===================================================================
--- chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc (revision 162199)
+++ chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc (working copy)
@@ -44,7 +44,7 @@
#if defined(USE_AURA)
#include "ash/shell.h"
-#include "ash/wm/session_state_controller.h"
+#include "ash/wm/power_button_controller.h"
#endif
using content::BrowserThread;
@@ -626,7 +626,7 @@
void SigninScreenHandler::HandleShutdownSystem(const base::ListValue* args) {
#if defined(USE_AURA)
// Display the shutdown animation before actually requesting shutdown.
- ash::Shell::GetInstance()->session_state_controller()->RequestShutdown();
+ ash::Shell::GetInstance()->power_button_controller()->RequestShutdown();
#else
DBusThreadManager::Get()->GetPowerManagerClient()->RequestShutdown();
#endif
« no previous file with comments | « chrome/browser/chromeos/power/session_state_controller_delegate_chromeos.cc ('k') | chrome/chrome_browser_chromeos.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698