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

Issue 10825191: Allow closing root window, or pressing the power button to shutdown ash_shell, and chrome /w chrome… (Closed)

Created:
8 years, 4 months ago by Harry McCleave
Modified:
8 years, 4 months ago
Reviewers:
Daniel Erat, sadrul, sky
CC:
chromium-reviews, sadrul, nkostylev+watch_chromium.org, ben+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

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 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=151815

Patch Set 1 #

Total comments: 5

Patch Set 2 : braces #

Total comments: 3

Patch Set 3 : refactor #

Patch Set 4 : Missed removing this somehow #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -8 lines) Patch
M ash/system/status_area_widget.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M ash/wm/power_button_controller.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ash/wm/power_button_controller.cc View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/system/ash_system_tray_delegate.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ui/aura/root_window.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/root_window.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M ui/aura/root_window_host_linux.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/root_window_observer.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/desktop_native_widget_helper_aura.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M ui/views/widget/desktop_native_widget_helper_aura.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
Harry McCleave
Please take a look when you get a chance.
8 years, 4 months ago (2012-08-07 01:55:25 UTC) #1
sadrul
http://codereview.chromium.org/10825191/diff/1/ash/wm/power_button_controller.cc File ash/wm/power_button_controller.cc (right): http://codereview.chromium.org/10825191/diff/1/ash/wm/power_button_controller.cc#newcode478 ash/wm/power_button_controller.cc:478: Shell::GetInstance()->delegate()->Exit(); Is this change to make sure chrome terminates ...
8 years, 4 months ago (2012-08-07 13:29:03 UTC) #2
Harry McCleave
https://chromiumcodereview.appspot.com/10825191/diff/1/ash/wm/power_button_controller.cc File ash/wm/power_button_controller.cc (right): https://chromiumcodereview.appspot.com/10825191/diff/1/ash/wm/power_button_controller.cc#newcode478 ash/wm/power_button_controller.cc:478: Shell::GetInstance()->delegate()->Exit(); On 2012/08/07 13:29:03, sadrul wrote: > Is this ...
8 years, 4 months ago (2012-08-07 18:30:14 UTC) #3
sadrul
LGTM. The comment below is to make sure you have tested that case. http://codereview.chromium.org/10825191/diff/1/ash/wm/power_button_controller.cc File ...
8 years, 4 months ago (2012-08-07 22:13:24 UTC) #4
sky
I'm not sure if this would have any side effects on an actual device. Maybe ...
8 years, 4 months ago (2012-08-07 23:14:08 UTC) #5
sky
LGTM
8 years, 4 months ago (2012-08-07 23:33:18 UTC) #6
Daniel Erat
FYI http://codereview.chromium.org/10825191/diff/2002/ash/wm/power_button_controller.cc File ash/wm/power_button_controller.cc (right): http://codereview.chromium.org/10825191/diff/2002/ash/wm/power_button_controller.cc#newcode476 ash/wm/power_button_controller.cc:476: void PowerButtonController::OnRootWindowHostClosed(const aura::RootWindow*) { nit: Doesn't need to ...
8 years, 4 months ago (2012-08-07 23:35:17 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/harrym@chromium.org/10825191/5004
8 years, 4 months ago (2012-08-15 22:54:54 UTC) #8
commit-bot: I haz the power
8 years, 4 months ago (2012-08-16 01:18:19 UTC) #9
Change committed as 151815

Powered by Google App Engine
This is Rietveld 408576698