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

Issue 10879023: Add VKEY_POWER to the POSIX KeyboardCode enum. (Closed)

Created:
8 years, 4 months ago by Daniel Erat
Modified:
8 years, 4 months ago
Reviewers:
mazda, sky
CC:
chromium-reviews, James Su, penghuang+watch_chromium.org, yusukes+watch_chromium.org
Visibility:
Public.

Description

Add VKEY_POWER to the POSIX KeyboardCode enum. I'm mapping XF86XK_PowerOff to VKEY_POWER on X. Otherwise, power button events on Chrome OS are mapped to VKEY_UNKNOWN and get thrown on the floor before we can interpret them as user activity. BUG=chromium:144295 TEST=power button undims the screen on chrome os Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152921

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M ui/base/keycodes/keyboard_code_conversion_x.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M ui/base/keycodes/keyboard_codes_posix.h View 1 chunk +1 line, -0 lines 3 comments Download

Messages

Total messages: 9 (0 generated)
Daniel Erat
https://chromiumcodereview.appspot.com/10879023/diff/1/ui/base/keycodes/keyboard_codes_posix.h File ui/base/keycodes/keyboard_codes_posix.h (right): https://chromiumcodereview.appspot.com/10879023/diff/1/ui/base/keycodes/keyboard_codes_posix.h#newcode212 ui/base/keycodes/keyboard_codes_posix.h:212: VKEY_POWER = 0x98, Running out of these... :-/
8 years, 4 months ago (2012-08-22 22:20:47 UTC) #1
mazda
lgtm http://codereview.chromium.org/10879023/diff/1/ui/base/keycodes/keyboard_codes_posix.h File ui/base/keycodes/keyboard_codes_posix.h (right): http://codereview.chromium.org/10879023/diff/1/ui/base/keycodes/keyboard_codes_posix.h#newcode212 ui/base/keycodes/keyboard_codes_posix.h:212: VKEY_POWER = 0x98, On 2012/08/22 22:20:47, Daniel Erat ...
8 years, 4 months ago (2012-08-22 23:03:14 UTC) #2
Daniel Erat
http://codereview.chromium.org/10879023/diff/1/ui/base/keycodes/keyboard_codes_posix.h File ui/base/keycodes/keyboard_codes_posix.h (right): http://codereview.chromium.org/10879023/diff/1/ui/base/keycodes/keyboard_codes_posix.h#newcode212 ui/base/keycodes/keyboard_codes_posix.h:212: VKEY_POWER = 0x98, On 2012/08/22 23:03:15, mazda wrote: > ...
8 years, 4 months ago (2012-08-22 23:09:29 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/10879023/1
8 years, 4 months ago (2012-08-22 23:10:38 UTC) #4
commit-bot: I haz the power
Presubmit check for 10879023-1 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 4 months ago (2012-08-22 23:10:41 UTC) #5
Daniel Erat
+sky for ui/
8 years, 4 months ago (2012-08-22 23:22:30 UTC) #6
sky
LGTM
8 years, 4 months ago (2012-08-22 23:44:16 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/10879023/1
8 years, 4 months ago (2012-08-22 23:46:40 UTC) #8
commit-bot: I haz the power
8 years, 4 months ago (2012-08-23 02:06:53 UTC) #9
Change committed as 152921

Powered by Google App Engine
This is Rietveld 408576698