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

Side by Side Diff: device/hid/hid_usage_and_page.h

Issue 1542163002: Switch to standard integer types in device/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win Created 4 years, 12 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
« no previous file with comments | « device/hid/hid_service_win.cc ('k') | device/hid/input_service_linux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef DEVICE_HID_HID_USAGE_AND_PAGE_H_ 5 #ifndef DEVICE_HID_HID_USAGE_AND_PAGE_H_
6 #define DEVICE_HID_HID_USAGE_AND_PAGE_H_ 6 #define DEVICE_HID_HID_USAGE_AND_PAGE_H_
7 7
8 #include "base/basictypes.h" 8 #include <stdint.h>
9 9
10 namespace device { 10 namespace device {
11 11
12 struct HidUsageAndPage { 12 struct HidUsageAndPage {
13 enum Page { 13 enum Page {
14 kPageUndefined = 0x00, 14 kPageUndefined = 0x00,
15 kPageGenericDesktop = 0x01, 15 kPageGenericDesktop = 0x01,
16 kPageSimulation = 0x02, 16 kPageSimulation = 0x02,
17 kPageVirtualReality = 0x03, 17 kPageVirtualReality = 0x03,
18 kPageSport = 0x04, 18 kPageSport = 0x04,
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 uint16_t usage; 126 uint16_t usage;
127 Page usage_page; 127 Page usage_page;
128 128
129 // Indicates whether this usage is protected by Chrome. 129 // Indicates whether this usage is protected by Chrome.
130 bool IsProtected() const; 130 bool IsProtected() const;
131 }; 131 };
132 132
133 } // namespace device 133 } // namespace device
134 134
135 #endif // DEVICE_HID_HID_USAGE_AND_PAGE_H_ 135 #endif // DEVICE_HID_HID_USAGE_AND_PAGE_H_
OLDNEW
« no previous file with comments | « device/hid/hid_service_win.cc ('k') | device/hid/input_service_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698