summaryrefslogtreecommitdiffstats
path: root/ash/wm/power_button_controller.h
diff options
context:
space:
mode:
authorharrym@chromium.org <harrym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-16 01:18:18 +0000
committerharrym@chromium.org <harrym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-16 01:18:18 +0000
commit5fbb90a02cc1ea5b6dffbb9a9a5e932008a2ec90 (patch)
tree7f830be7fc442aaf9350a8dc14d299cc229b3d8a /ash/wm/power_button_controller.h
parentda4c7f4f1aacf564c39b527425b3fc6e5796976e (diff)
downloadchromium_src-5fbb90a02cc1ea5b6dffbb9a9a5e932008a2ec90.zip
chromium_src-5fbb90a02cc1ea5b6dffbb9a9a5e932008a2ec90.tar.gz
chromium_src-5fbb90a02cc1ea5b6dffbb9a9a5e932008a2ec90.tar.bz2
Allow closing root window, or pressing the power button to shutdown ash_shell, and chrome /w chromeos flag (not running on chromeos) to exit the application
BUG=113123 Review URL: https://chromiumcodereview.appspot.com/10825191 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151815 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/wm/power_button_controller.h')
-rw-r--r--ash/wm/power_button_controller.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ash/wm/power_button_controller.h b/ash/wm/power_button_controller.h
index 85c6c3a..eee5f1c 100644
--- a/ash/wm/power_button_controller.h
+++ b/ash/wm/power_button_controller.h
@@ -157,6 +157,8 @@ class ASH_EXPORT PowerButtonController : public aura::RootWindowObserver,
// aura::RootWindowObserver overrides:
virtual void OnRootWindowResized(const aura::RootWindow* root,
const gfx::Size& old_size) OVERRIDE;
+ virtual void OnRootWindowHostCloseRequested(
+ const aura::RootWindow* root) OVERRIDE;
// ShellObserver overrides:
virtual void OnLoginStateChanged(user::LoginStatus status) OVERRIDE;