diff options
author | harrym@chromium.org <harrym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-16 01:18:18 +0000 |
---|---|---|
committer | harrym@chromium.org <harrym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-16 01:18:18 +0000 |
commit | 5fbb90a02cc1ea5b6dffbb9a9a5e932008a2ec90 (patch) | |
tree | 7f830be7fc442aaf9350a8dc14d299cc229b3d8a /ui/aura/root_window_host_linux.cc | |
parent | da4c7f4f1aacf564c39b527425b3fc6e5796976e (diff) | |
download | chromium_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 'ui/aura/root_window_host_linux.cc')
-rw-r--r-- | ui/aura/root_window_host_linux.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/aura/root_window_host_linux.cc b/ui/aura/root_window_host_linux.cc index b7b1af8..4dd801e 100644 --- a/ui/aura/root_window_host_linux.cc +++ b/ui/aura/root_window_host_linux.cc @@ -714,7 +714,7 @@ bool RootWindowHostLinux::Dispatch(const base::NativeEvent& event) { Atom message_type = static_cast<Atom>(xev->xclient.data.l[0]); if (message_type == atom_cache_.GetAtom("WM_DELETE_WINDOW")) { // We have received a close message from the window manager. - delegate_->AsRootWindow()->OnRootWindowHostClosed(); + delegate_->AsRootWindow()->OnRootWindowHostCloseRequested(); } else if (message_type == atom_cache_.GetAtom("_NET_WM_PING")) { XEvent reply_event = *xev; reply_event.xclient.window = x_root_window_; |