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

Unified Diff: ui/events/keycodes/dom3/dom_key.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/keycodes/dom3/dom_code.h ('k') | ui/events/keycodes/dom3/dom_key_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/keycodes/dom3/dom_key.h
diff --git a/ui/events/keycodes/dom3/dom_key.h b/ui/events/keycodes/dom3/dom_key.h
new file mode 100644
index 0000000000000000000000000000000000000000..96af74d818bf55b12cdca6f94d5d52c44e9d3fe2
--- /dev/null
+++ b/ui/events/keycodes/dom3/dom_key.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_KEY_H_
+#define UI_EVENTS_KEYCODES_DOM3_DOM_KEY_H_
+
+namespace ui {
+
+#define DOM_KEY_MAP(key, id) id
+#define DOM_KEY_MAP_DECLARATION enum class DomKey
+#include "ui/events/keycodes/dom3/dom_key_data.h"
+#undef DOM_KEY_MAP
+#undef DOM_KEY_MAP_DECLARATION
+
+} // namespace ui
+
+#endif // UI_EVENTS_KEYCODES_DOM3_DOM_KEY_H_
« no previous file with comments | « ui/events/keycodes/dom3/dom_code.h ('k') | ui/events/keycodes/dom3/dom_key_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698