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

Unified Diff: ui/events/keycodes/dom3/dom_code.h

Issue 641753003: DOM Level 3 .code and .key value enumerations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix accidental deletion when wrapping lines Created 6 years, 1 month 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
« no previous file with comments | « ui/events/events.gyp ('k') | ui/events/keycodes/dom3/dom_key.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/keycodes/dom3/dom_code.h
diff --git a/ui/events/keycodes/dom3/dom_code.h b/ui/events/keycodes/dom3/dom_code.h
new file mode 100644
index 0000000000000000000000000000000000000000..a58d9f1e2323341135af2f7b7f2b2358fa4f0563
--- /dev/null
+++ b/ui/events/keycodes/dom3/dom_code.h
@@ -0,0 +1,18 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_EVENTS_KEYCODES_DOM3_DOM_CODE_H_
+#define UI_EVENTS_KEYCODES_DOM3_DOM_CODE_H_
+
+namespace ui {
+
+#define USB_KEYMAP(usb, xkb, win, mac, code, id) id = usb
+#define USB_KEYMAP_DECLARATION enum class DomCode
+#include "ui/events/keycodes/dom4/keycode_converter_data.h"
+#undef USB_KEYMAP
+#undef USB_KEYMAP_DECLARATION
+
+} // namespace ui
+
+#endif // UI_EVENTS_KEYCODES_DOM3_DOM_CODE_H_
« no previous file with comments | « ui/events/events.gyp ('k') | ui/events/keycodes/dom3/dom_key.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698