Skip to content

Commit

Permalink
bug 674739 - Implement DOM3 KeyboardEvent types for volume controls r…
Browse files Browse the repository at this point in the history
…=masayuki, sr=smaug
  • Loading branch information
bslassey committed Feb 4, 2013
1 parent c5d04d9 commit 96ca982
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions content/events/public/nsVKList.h
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,10 @@ DEFINE_VK_INTERNAL(_CLOSE_CURLY_BRACKET),

DEFINE_VK_INTERNAL(_TILDE),

DEFINE_VK_INTERNAL(_VOLUME_MUTE),
DEFINE_VK_INTERNAL(_VOLUME_DOWN),
DEFINE_VK_INTERNAL(_VOLUME_UP),

DEFINE_VK_INTERNAL(_COMMA),
DEFINE_VK_INTERNAL(_PERIOD),
DEFINE_VK_INTERNAL(_SLASH),
Expand Down
4 changes: 4 additions & 0 deletions dom/interfaces/events/nsIDOMKeyEvent.idl
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ interface nsIDOMKeyEvent : nsIDOMUIEvent

const unsigned long DOM_VK_TILDE = 0xB0;

const unsigned long DOM_VK_VOLUME_MUTE = 0xB5;
const unsigned long DOM_VK_VOLUME_DOWN = 0xB6;
const unsigned long DOM_VK_VOLUME_UP = 0xB7;

const unsigned long DOM_VK_COMMA = 0xBC;
const unsigned long DOM_VK_PERIOD = 0xBE;
const unsigned long DOM_VK_SLASH = 0xBF;
Expand Down

0 comments on commit 96ca982

Please sign in to comment.