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

Issue 10382211: chromeos: Ignore power button presses when screen is off. (Closed)

Created:
8 years, 7 months ago by Daniel Erat
Modified:
8 years, 7 months ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, sadrul, nkostylev+watch_chromium.org, davemoore+watch_chromium.org, ben+watch_chromium.org
Visibility:
Public.

Description

chromeos: Ignore power button presses when screen is off. Make PowerButtonController ignore power button events when the screen is turned off -- if the user hits the power button to turn the screen back on, we don't want to lock or shutdown if they hold it a bit too long. BUG=128451 TEST=added, also did manual testing Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137679

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -2 lines) Patch
M ash/wm/power_button_controller.h View 2 chunks +6 lines, -0 lines 0 comments Download
M ash/wm/power_button_controller.cc View 3 chunks +10 lines, -0 lines 0 comments Download
M ash/wm/power_button_controller_unittest.cc View 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/power/brightness_observer.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/power/brightness_observer.cc View 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Daniel Erat
8 years, 7 months ago (2012-05-17 00:08:23 UTC) #1
Ben Goodger (Google)
lgtm
8 years, 7 months ago (2012-05-17 16:02:31 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/10382211/1
8 years, 7 months ago (2012-05-17 16:03:44 UTC) #3
commit-bot: I haz the power
8 years, 7 months ago (2012-05-17 17:30:30 UTC) #4
Change committed as 137679

Powered by Google App Engine
This is Rietveld 408576698