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

Unified Diff: device/hid/hid_usage_and_page.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_service_win.cc ('k') | device/hid/hid_usage_and_page.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/hid/hid_usage_and_page.h
diff --git a/device/hid/hid_usage_and_page.h b/device/hid/hid_usage_and_page.h
index 98ac80d6b544b186381049f31799826ef5105d95..635e9b3cc4192b97af09e50889f9352341abdf9a 100644
--- a/device/hid/hid_usage_and_page.h
+++ b/device/hid/hid_usage_and_page.h
@@ -126,7 +126,8 @@ struct HidUsageAndPage {
uint16_t usage;
Page usage_page;
- bool operator==(const HidUsageAndPage& other) const;
+ // Indicates whether this usage is protected by Chrome.
+ bool IsProtected() const;
};
} // namespace device
« no previous file with comments | « device/hid/hid_service_win.cc ('k') | device/hid/hid_usage_and_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698