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

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: braces 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') | ash/wm/power_button_controller.cc » ('J')
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 ca2a88ddb69109e318ee7b680e04896c348bec2b..74449b5afd40a024baffc21347e5d0b1861451a5 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') | ash/wm/power_button_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698