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

Unified Diff: ash/system/status_area_widget.cc

Issue 10825191: Allow closing root window, or pressing the power button to shutdown ash_shell, and chrome /w chrome… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missed removing this somehow Created 8 years, 4 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 | « no previous file | ash/wm/power_button_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/status_area_widget.cc
diff --git a/ash/system/status_area_widget.cc b/ash/system/status_area_widget.cc
index 4209f387ba12823a5bf77ef9cda35f4ffbe36259..3bced077edbe71ac9b802ee603b365bd4c18bbe8 100644
--- a/ash/system/status_area_widget.cc
+++ b/ash/system/status_area_widget.cc
@@ -115,7 +115,9 @@ class DummySystemTrayDelegate : public SystemTrayDelegate {
caps_lock_enabled_ = enabled;
}
- virtual void ShutDown() OVERRIDE {}
+ virtual void ShutDown() OVERRIDE {
+ MessageLoop::current()->Quit();
+ }
virtual void SignOut() OVERRIDE {
MessageLoop::current()->Quit();
« no previous file with comments | « no previous file | ash/wm/power_button_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698