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

Side by Side Diff: extensions/common/api/hid.idl

Issue 395333003: Extensions: Move cast_channel and hid APIs to extensions/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « extensions/common/api/cast_channel.idl ('k') | extensions/extensions.gyp » ('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 // Use the <code>chrome.hid</code> API to interact with connected HID devices. 5 // Use the <code>chrome.hid</code> API to interact with connected HID devices.
6 // This API provides access to HID operations from within the context of an app. 6 // This API provides access to HID operations from within the context of an app.
7 // Using this API, apps can function as drivers for hardware devices. 7 // Using this API, apps can function as drivers for hardware devices.
8 namespace hid { 8 namespace hid {
9 // HID top-level collection attributes. 9 // HID top-level collection attributes.
10 // Each enumerated device interface exposes an array of these objects. 10 // Each enumerated device interface exposes an array of these objects.
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 // |connectionId|: The connection to read Input report from. 121 // |connectionId|: The connection to read Input report from.
122 // |reportId|: The report ID to use, or <code>0</code> if none. 122 // |reportId|: The report ID to use, or <code>0</code> if none.
123 // |data|: The report data. 123 // |data|: The report data.
124 // |callback|: The callback to invoke once the write is finished. 124 // |callback|: The callback to invoke once the write is finished.
125 static void sendFeatureReport(long connectionId, 125 static void sendFeatureReport(long connectionId,
126 long reportId, 126 long reportId,
127 ArrayBuffer data, 127 ArrayBuffer data,
128 SendCallback callback); 128 SendCallback callback);
129 }; 129 };
130 }; 130 };
OLDNEW
« no previous file with comments | « extensions/common/api/cast_channel.idl ('k') | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698