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

Unified Diff: device/hid/hid_device_info.h

Issue 317783010: chrome.hid: enrich model with report IDs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix hid.idl comment Created 6 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 | « device/hid/hid_connection_win.cc ('k') | device/hid/hid_device_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/hid/hid_device_info.h
diff --git a/device/hid/hid_device_info.h b/device/hid/hid_device_info.h
index 1b143c2253532ea00d703370bfb6892022d02cd3..2ed51ac4f52c140d03c15025fca10f3182bd2cf1 100644
--- a/device/hid/hid_device_info.h
+++ b/device/hid/hid_device_info.h
@@ -9,7 +9,7 @@
#include <vector>
#include "build/build_config.h"
-#include "device/hid/hid_usage_and_page.h"
+#include "device/hid/hid_collection_info.h"
#if defined(OS_MACOSX)
#include <IOKit/hid/IOHIDDevice.h>
@@ -34,20 +34,19 @@ struct HidDeviceInfo {
HidDeviceInfo();
~HidDeviceInfo();
+ // Device identification.
HidDeviceId device_id;
-
- HidBusType bus_type;
uint16_t vendor_id;
uint16_t product_id;
-
- int input_report_size;
- int output_report_size;
- int feature_report_size;
- std::vector<HidUsageAndPage> usages;
- bool has_report_id;
-
std::string product_name;
std::string serial_number;
+ HidBusType bus_type;
+
+ // Top-Level Collections information.
+ std::vector<HidCollectionInfo> collections;
+ int max_input_report_size;
+ int max_output_report_size;
+ int max_feature_report_size;
};
} // namespace device
« no previous file with comments | « device/hid/hid_connection_win.cc ('k') | device/hid/hid_device_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698