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

Unified Diff: trunk/src/device/hid/hid_report_descriptor.h

Issue 364213005: Revert 281282 "Revert 281133 "chrome.hid: enrich model with repo..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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 | « trunk/src/device/hid/hid_device_info.cc ('k') | trunk/src/device/hid/hid_report_descriptor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/device/hid/hid_report_descriptor.h
===================================================================
--- trunk/src/device/hid/hid_report_descriptor.h (revision 281299)
+++ trunk/src/device/hid/hid_report_descriptor.h (working copy)
@@ -8,8 +8,8 @@
#include <vector>
#include "base/memory/linked_ptr.h"
+#include "device/hid/hid_collection_info.h"
#include "device/hid/hid_report_descriptor_item.h"
-#include "device/hid/hid_usage_and_page.h"
namespace device {
@@ -25,9 +25,12 @@
return items_;
}
- // Returns HID usages of top-level collections present in the descriptor.
- void GetTopLevelCollections(
- std::vector<HidUsageAndPage>* topLevelCollections);
+ // Returns top-level collections present in the descriptor,
+ // together with max report sizes
+ void GetDetails(std::vector<HidCollectionInfo>* top_level_collections,
+ int* max_input_report_size,
+ int* max_output_report_size,
+ int* max_feature_report_size);
private:
std::vector<linked_ptr<HidReportDescriptorItem> > items_;
Property changes on: trunk/src/device/hid/hid_report_descriptor.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « trunk/src/device/hid/hid_device_info.cc ('k') | trunk/src/device/hid/hid_report_descriptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698