Chromium Code Reviews| Index: chrome/common/extensions/api/braille_display_private.idl |
| diff --git a/chrome/common/extensions/api/braille_display_private.idl b/chrome/common/extensions/api/braille_display_private.idl |
| index 166b932ef7ea687d9de1678ca1cdfd0963118d60..16a91d0f602fd99d11153523852e8752054a7293 100644 |
| --- a/chrome/common/extensions/api/braille_display_private.idl |
| +++ b/chrome/common/extensions/api/braille_display_private.idl |
| @@ -28,8 +28,13 @@ namespace brailleDisplayPrivate { |
| // Braille dot keys that were pressed, stored in the low-order bits. |
| // Dot 1 is stored in bit 0, dot2 in bit 1, etc. |
| long? brailleDots; |
| - // DOM keyboard event for a key that corresponds to a standard key. |
| - DOMString? standardKeyName; |
| + // DOM keyboard event code. This is present when command is standard_key |
| + // and the braille display event represents a non-alphanumeric key such |
| + // as an arrow key or function key. |
| + DOMString? standardKeyCode; |
|
not at google - send to devlin
2014/05/23 22:26:20
aren't key codes integers?
David Tseng
2014/05/27 21:29:31
Had same question as kalman.
|
| + // DOM keyboard event character value. This is present if the |
| + // braille key event corresponds to a character. |
| + DOMString? standardKeyChar; |
|
David Tseng
2014/05/27 21:29:31
Do we need both of these members or can we make th
David Tseng
2014/05/27 21:32:29
Also, is there a non-standard variant? (i.e. can w
|
| // Whether the space key was pressed. |
| boolean? spaceKey; |
| // Whether the alt key was pressed. |