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

Unified Diff: ui/events/keycodes/dom4/keycode_converter_data.h

Issue 841263005: Use DOM- rather than Windows-based key code for non-layout cases. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address review comments (sadrul) Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/events/keycodes/dom4/keycode_converter_data.h
diff --git a/ui/events/keycodes/dom4/keycode_converter_data.h b/ui/events/keycodes/dom4/keycode_converter_data.h
index 0d9fccdecdd23712d0c3c8a0beaad185a05e7716..2f7712ed67b8d73cb2e0a01c599cb1b3bd0932af 100644
--- a/ui/events/keycodes/dom4/keycode_converter_data.h
+++ b/ui/events/keycodes/dom4/keycode_converter_data.h
@@ -399,6 +399,12 @@ USB_KEYMAP_DECLARATION {
USB_KEYMAP(0x0c0075, 0x00fc, 0x0000, 0xffff, NULL, BRIGHTNESS_AUTO),
// USB XKB Win Mac
+ //USB_KEYMAP(0x0c00b0, 0x00d7, 0x????, 0x????, "MediaPlay", MEDIA_PLAY),
+ //USB_KEYMAP(0x0c00b1, 0x007f, 0x????, 0x????, "MediaPause", MEDIA_PAUSE),
+ //USB_KEYMAP(0x0c00b2, 0x00af, 0x????, 0x????, "MediaRecord", MEDIA_RECORD),
+ //USB_KEYMAP(0x0c00b3, 0x00d8, 0x????, 0x????, "MediaFastForward",
+ // MEDIA_FAST_FORWARD),
+ //USB_KEYMAP(0x0c00b4, 0x00b0, 0x????, 0x????, "MediaRewind", MEDIA_REWIND),
USB_KEYMAP(0x0c00b5, 0x0000, 0xe019, 0xffff, "MediaTrackNext",
MEDIA_TRACK_NEXT),
USB_KEYMAP(0x0c00b6, 0x0000, 0xe010, 0xffff, "MediaTrackPrevious",
@@ -441,6 +447,8 @@ USB_KEYMAP_DECLARATION {
USB_KEYMAP(0x0c01b4, 0x0098, 0x0000, 0xffff, NULL, LAUNCH_FILE_BROWSER),
// USB#0x0c01b7: AL Audio Browser
//USB_KEYMAP(0x0c01b7, 0x0190, 0x0000, 0xffff, NULL, LAUNCH_AUDIO_BROWSER),
+ // USB#0x0c0208: AC Print
+ //USB_KEYMAP(0x0c0208, 0x00da, 0x0000, 0xffff, NULL, PRINT),
// USB#0x0c0221: AC_Search
USB_KEYMAP(0x0c0221, 0x0000, 0xe065, 0xffff, "BrowserSearch", BROWSER_SEARCH),
// USB#0x0c0223: AC_Home

Powered by Google App Engine
This is Rietveld 408576698