Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef UI_EVENTS_KEYBOARD_DEVICE_H_ | |
| 6 #define UI_EVENTS_KEYBOARD_DEVICE_H_ | |
| 7 | |
| 8 #include "ui/events/events_base_export.h" | |
| 9 | |
| 10 namespace ui { | |
| 11 | |
| 12 enum KeyboardDeviceType { | |
| 13 INTERNAL, | |
| 14 TEST, | |
| 15 EXTERNAL, | |
| 16 }; | |
| 17 | |
| 18 // Represents a Keyboard device state. | |
| 19 struct EVENTS_BASE_EXPORT KeyboardDevice { | |
| 20 | |
| 21 KeyboardDevice(int id, KeyboardDeviceType type); | |
| 22 | |
| 23 // 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.
| |
| 24 int id; | |
| 25 | |
| 26 // The type of the keyboard device. | |
| 27 KeyboardDeviceType type; | |
| 28 }; | |
| 29 | |
| 30 } // namespace ui | |
| 31 | |
| 32 #endif // UI_EVENTS_KEYBOARD_DEVICE_H_ | |
| OLD | NEW |