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

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

Issue 1287103004: Sync ui/events to chromium @ https://codereview.chromium.org/1210203002 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 5 years, 4 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
« no previous file with comments | « ui/events/keycodes/dom/DEPS ('k') | ui/events/keycodes/dom/dom_key.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/keycodes/dom/dom_code.h
diff --git a/ui/events/keycodes/dom/dom_code.h b/ui/events/keycodes/dom/dom_code.h
new file mode 100644
index 0000000000000000000000000000000000000000..e90a6f7746b120d89b446fa3a6a2ab5cd37bc59b
--- /dev/null
+++ b/ui/events/keycodes/dom/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/dom/keycode_converter_data.inc"
+#undef USB_KEYMAP
+#undef USB_KEYMAP_DECLARATION
+
+} // namespace ui
+
+#endif // UI_EVENTS_KEYCODES_DOM3_DOM_CODE_H_
« no previous file with comments | « ui/events/keycodes/dom/DEPS ('k') | ui/events/keycodes/dom/dom_key.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698