Index: ui/base/keycodes/keyboard_code_conversion_wayland.h |
diff --git a/ui/base/keycodes/keyboard_code_conversion_wayland.h b/ui/base/keycodes/keyboard_code_conversion_wayland.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..77079841b7053601a6a42522e1d9774c495fb0a7 |
--- /dev/null |
+++ b/ui/base/keycodes/keyboard_code_conversion_wayland.h |
@@ -0,0 +1,25 @@ |
+// Copyright 2013 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_BASE_KEYCODES_KEYBOARD_CODE_CONVERSION_WAYLAND_H_ |
+#define UI_BASE_KEYCODES_KEYBOARD_CODE_CONVERSION_WAYLAND_H_ |
+ |
+#include "base/basictypes.h" |
+#include "ui/base/keycodes/keyboard_codes_posix.h" |
+#include "ui/base/ui_export.h" |
+ |
+namespace base { |
+namespace wayland { |
+union WaylandEvent; |
+} |
+} |
+ |
+namespace ui { |
+ |
+// Returns a character on a standard US PC keyboard from an XEvent. |
+UI_EXPORT uint16 GetCharacterFromWaylandEvent(base::wayland::WaylandEvent* wev); |
+ |
+} // namespace ui |
+ |
+#endif // UI_BASE_KEYCODES_KEYBOARD_CODE_CONVERSION_WAYLAND_H_ |