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

Unified Diff: ui/base/keycodes/keyboard_code_conversion_wayland.h

Issue 17265006: wayland patch for inspection Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/base/ime/fake_input_method.cc ('k') | ui/base/keycodes/keyboard_code_conversion_wayland.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « ui/base/ime/fake_input_method.cc ('k') | ui/base/keycodes/keyboard_code_conversion_wayland.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698