Index: ui/events/keyboard_device.h |
diff --git a/ui/events/keyboard_device.h b/ui/events/keyboard_device.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e4d9f50199c2151ed2eacc65db694b76db7b60e4 |
--- /dev/null |
+++ b/ui/events/keyboard_device.h |
@@ -0,0 +1,32 @@ |
+// 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_KEYBOARD_DEVICE_H_ |
+#define UI_EVENTS_KEYBOARD_DEVICE_H_ |
+ |
+#include "ui/events/events_base_export.h" |
+ |
+namespace ui { |
+ |
+enum KeyboardDeviceType { |
+ INTERNAL, |
+ TEST, |
+ EXTERNAL, |
+}; |
+ |
+// Represents a Keyboard device state. |
+struct EVENTS_BASE_EXPORT KeyboardDevice { |
+ |
+ KeyboardDevice(int id, KeyboardDeviceType type); |
+ |
+ // ID of the touch screen. This ID must uniquely identify the touch screen. |
dnicoara
2014/10/02 13:58:20
Fix comment
rsadam
2014/10/02 14:59:31
Done.
|
+ int id; |
+ |
+ // The type of the keyboard device. |
+ KeyboardDeviceType type; |
+}; |
+ |
+} // namespace ui |
+ |
+#endif // UI_EVENTS_KEYBOARD_DEVICE_H_ |