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

Unified Diff: ui/events/keycodes/dom/dom_key_data.inc

Issue 929053004: [KeyboardEvent] Add embedder APIs to translate between Dom |key| enum and strings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup of the dom_key.h Created 5 years, 5 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: ui/events/keycodes/dom/dom_key_data.inc
diff --git a/ui/events/keycodes/dom/dom_key_data.inc b/ui/events/keycodes/dom/dom_key_data.inc
index e809b8dd32610f140b2ac0463b73e5bd2b29d401..c5761a49a718c22861994d8f68abdedfb66c62ed 100644
--- a/ui/events/keycodes/dom/dom_key_data.inc
+++ b/ui/events/keycodes/dom/dom_key_data.inc
@@ -28,11 +28,6 @@ DOM_KEY_MAP_DECLARATION {
// Key Enum
DOM_KEY_MAP(nullptr, NONE), // No value
- // A value of DomKey::CHARACTER indicates that the KeyboardEvent |key|
- // string is determined by the Unicode character interpretation and is
- // not one of the fixed string values.
- DOM_KEY_MAP(nullptr, CHARACTER),
-
// =========================================================
// Special Key Values
// http://www.w3.org/TR/DOM-Level-3-Events-key/#keys-special
@@ -379,4 +374,9 @@ DOM_KEY_MAP_DECLARATION {
DOM_KEY_MAP("VideoModeNext", VIDEO_MODE_NEXT),
DOM_KEY_MAP("Wink", WINK),
DOM_KEY_MAP("ZoomToggle", ZOOM_TOGGLE),
+
+ // A value of DomKey::CHARACTER indicates that the KeyboardEvent |key|
+ // string is determined by the Unicode character interpretation and is
+ // not one of the fixed string values.
+ DOM_KEY_MAP(nullptr, CHARACTER),
dtapuska 2015/08/13 13:36:48 Should a comment be added here that CHARACTER is a
};

Powered by Google App Engine
This is Rietveld 408576698