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

Unified Diff: chrome/common/extensions/api/braille_display_private.idl

Issue 297833015: Support standard keyboard keys emulated by the braille drivers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Fix typos and clarify some docs. Created 6 years, 7 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: 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..0c7a3e69dc00fdbf5cb99c85ff770776dcfcb7f6 100644
--- a/chrome/common/extensions/api/braille_display_private.idl
+++ b/chrome/common/extensions/api/braille_display_private.idl
@@ -28,8 +28,15 @@ 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.
+ // The value is as defined by the |code| property in
+ // http://www.w3.org/TR/uievents/#keyboard-event-interface
+ DOMString? standardKeyCode;
+ // DOM keyboard event character value. This is present if the
+ // braille key event corresponds to a character.
+ DOMString? standardKeyChar;
// Whether the space key was pressed.
boolean? spaceKey;
// Whether the alt key was pressed.
« no previous file with comments | « chrome/chrome_browser_extensions.gypi ('k') | chrome/test/data/extensions/api_test/braille_display_private/key_events/test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698