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

Unified Diff: ui/events/ozone/evdev/keyboard_util_evdev.h

Issue 872883003: [PATCH 2/11] ozone: evdev: Move KeyboardEvdev usage during dispatch to EventFactoryEvdev (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates for events_unittests Created 5 years, 11 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/ozone/evdev/keyboard_util_evdev.h
diff --git a/ui/events/ozone/evdev/keyboard_util_evdev.h b/ui/events/ozone/evdev/keyboard_util_evdev.h
new file mode 100644
index 0000000000000000000000000000000000000000..3460ff56e476328d2bc7974714febb88798f4b73
--- /dev/null
+++ b/ui/events/ozone/evdev/keyboard_util_evdev.h
@@ -0,0 +1,15 @@
+// Copyright 2015 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_OZONE_EVDEV_KEYBOARD_UTIL_EVDEV_H_
+#define UI_EVENTS_OZONE_EVDEV_KEYBOARD_UTIL_EVDEV_H_
+
+namespace ui {
+
+int NativeCodeToEvdevCode(int native_code);
+int EvdevCodeToNativeCode(int evdev_code);
+
+} // namespace ui
+
+#endif // UI_EVENTS_OZONE_EVDEV_KEYBOARD_UTIL_EVDEV_H_

Powered by Google App Engine
This is Rietveld 408576698