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

Side by Side Diff: ui/events/keycodes/dom/dom_key_data.inc

Issue 2641073002: Add MediaClose DOM key definition (Closed)
Patch Set: Created 3 years, 11 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file has no header guard because it is explicily intended 5 // This file has no header guard because it is explicily intended
6 // to be included more than once with different definitions of the 6 // to be included more than once with different definitions of the
7 // macros DOM_KEY_MAP and DOM_KEY_MAP_DECLARATION. 7 // macros DOM_KEY_MAP and DOM_KEY_MAP_DECLARATION.
8 8
9 // This is a table of DOM Level 3 .key values, used to generate identifiers 9 // This is a table of DOM Level 3 .key values, used to generate identifiers
10 // (enums) and string tables. These names are defined by: 10 // (enums) and string tables. These names are defined by:
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 // Note: some keys were previously listed in the Media Controller Keys 272 // Note: some keys were previously listed in the Media Controller Keys
273 // section of the spec, and retain their original numbering (0x0D__). 273 // section of the spec, and retain their original numbering (0x0D__).
274 274
275 // Key Enum Value 275 // Key Enum Value
276 DOM_KEY_MAP("ChannelDown", CHANNEL_DOWN, 0x0D0A), 276 DOM_KEY_MAP("ChannelDown", CHANNEL_DOWN, 0x0D0A),
277 DOM_KEY_MAP("ChannelUp", CHANNEL_UP, 0x0D0B), 277 DOM_KEY_MAP("ChannelUp", CHANNEL_UP, 0x0D0B),
278 DOM_KEY_MAP("Close", CLOSE, 0x0A01), 278 DOM_KEY_MAP("Close", CLOSE, 0x0A01),
279 DOM_KEY_MAP("MailForward", MAIL_FORWARD, 0x0A02), 279 DOM_KEY_MAP("MailForward", MAIL_FORWARD, 0x0A02),
280 DOM_KEY_MAP("MailReply", MAIL_REPLY, 0x0A03), 280 DOM_KEY_MAP("MailReply", MAIL_REPLY, 0x0A03),
281 DOM_KEY_MAP("MailSend", MAIL_SEND, 0x0A04), 281 DOM_KEY_MAP("MailSend", MAIL_SEND, 0x0A04),
282 DOM_KEY_MAP("MediaClose", MEDIA_CLOSE, 0x0D5B),
282 DOM_KEY_MAP("MediaFastForward", MEDIA_FAST_FORWARD, 0x0D2C), 283 DOM_KEY_MAP("MediaFastForward", MEDIA_FAST_FORWARD, 0x0D2C),
283 DOM_KEY_MAP("MediaPause", MEDIA_PAUSE, 0x0D2E), 284 DOM_KEY_MAP("MediaPause", MEDIA_PAUSE, 0x0D2E),
284 DOM_KEY_MAP("MediaPlay", MEDIA_PLAY, 0x0D2F), 285 DOM_KEY_MAP("MediaPlay", MEDIA_PLAY, 0x0D2F),
285 DOM_KEY_MAP("MediaPlayPause", MEDIA_PLAY_PAUSE, 0x0A05), 286 DOM_KEY_MAP("MediaPlayPause", MEDIA_PLAY_PAUSE, 0x0A05),
286 DOM_KEY_MAP("MediaRecord", MEDIA_RECORD, 0x0D30), 287 DOM_KEY_MAP("MediaRecord", MEDIA_RECORD, 0x0D30),
287 DOM_KEY_MAP("MediaRewind", MEDIA_REWIND, 0x0D31), 288 DOM_KEY_MAP("MediaRewind", MEDIA_REWIND, 0x0D31),
288 // "MediaSelect" was removed from the spec. 289 // "MediaSelect" was removed from the spec.
289 // ("MediaSelect", MEDIA_SELECT, 0x0A06), 290 // ("MediaSelect", MEDIA_SELECT, 0x0A06),
290 DOM_KEY_MAP("MediaStop", MEDIA_STOP, 0x0A07), 291 DOM_KEY_MAP("MediaStop", MEDIA_STOP, 0x0A07),
291 DOM_KEY_MAP("MediaTrackNext", MEDIA_TRACK_NEXT, 0x0A08), 292 DOM_KEY_MAP("MediaTrackNext", MEDIA_TRACK_NEXT, 0x0A08),
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 DOM_KEY_MAP("Settings", SETTINGS, 0x0D43), 527 DOM_KEY_MAP("Settings", SETTINGS, 0x0D43),
527 DOM_KEY_MAP("SplitScreenToggle", SPLIT_SCREEN_TOGGLE, 0x0D44), 528 DOM_KEY_MAP("SplitScreenToggle", SPLIT_SCREEN_TOGGLE, 0x0D44),
528 DOM_KEY_MAP("STBInput", STB_INPUT, 0x0D45), 529 DOM_KEY_MAP("STBInput", STB_INPUT, 0x0D45),
529 DOM_KEY_MAP("STBPower", STB_POWER, 0x0D46), 530 DOM_KEY_MAP("STBPower", STB_POWER, 0x0D46),
530 DOM_KEY_MAP("Subtitle", SUBTITLE, 0x0D47), 531 DOM_KEY_MAP("Subtitle", SUBTITLE, 0x0D47),
531 DOM_KEY_MAP("Teletext", TELETEXT, 0x0D48), 532 DOM_KEY_MAP("Teletext", TELETEXT, 0x0D48),
532 DOM_KEY_MAP("VideoModeNext", VIDEO_MODE_NEXT, 0x0D4C), 533 DOM_KEY_MAP("VideoModeNext", VIDEO_MODE_NEXT, 0x0D4C),
533 DOM_KEY_MAP("Wink", WINK, 0x0D4D), 534 DOM_KEY_MAP("Wink", WINK, 0x0D4D),
534 DOM_KEY_MAP("ZoomToggle", ZOOM_TOGGLE, 0x0D4E), 535 DOM_KEY_MAP("ZoomToggle", ZOOM_TOGGLE, 0x0D4E),
535 }; 536 };
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698