bug 674739 - Implement DOM3 KeyboardEvent types for volume controls r=masayuki, sr=smaug

This commit is contained in:
Brad Lassey 2013-02-04 15:50:41 -05:00
parent 079ab4de81
commit 16fe066050
2 changed files with 8 additions and 0 deletions

View File

@ -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),

View File

@ -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;