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

Unified Diff: chrome/common/extensions/api/hid.idl

Issue 184483005: Add template for chrome.hid documentation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: no stable bump Created 6 years, 8 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 | « no previous file | chrome/common/extensions/docs/templates/public/apps/hid.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/hid.idl
diff --git a/chrome/common/extensions/api/hid.idl b/chrome/common/extensions/api/hid.idl
index 44bb857b525b7a6c69e749f02aa46e8a1f46efbd..a718ace3883f698d152a1c84534b938fe035aab9 100644
--- a/chrome/common/extensions/api/hid.idl
+++ b/chrome/common/extensions/api/hid.idl
@@ -6,10 +6,12 @@
// This API provides access to HID operations from within the context of an app.
// Using this API, apps can function as drivers for hardware devices.
namespace hid {
-
- // HID usage pair.
- // |usage_page|: HID usage page.
- // |usage|: HID usage.
+ // HID usage pair. Each enumerated device interface exposes an array of
+ // these objects. Values correspond to those defined by the
+ // <a href="http://www.usb.org/developers/devclass_docs/HID1_11.pdf>
+ // HID device class specification</a>.
+ // |usage_page|: HID usage page identifier.
+ // |usage|: Page-defined usage identifier.
dictionary HidUsageAndPage {
long usage_page;
long usage;
« no previous file with comments | « no previous file | chrome/common/extensions/docs/templates/public/apps/hid.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698