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

Side by Side Diff: ui/events/keyboard_device.h

Issue 618283003: Adds special support to the device manager for keyboards devices. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698