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

Side by Side Diff: Source/modules/webusb/USBControlTransferParameters.idl

Issue 1245363002: Add WebUSB bindings and client interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 enum USBRequestType {
6 "standard",
7 "class",
8 "vendor"
9 };
10
11 enum USBRecipient {
12 "device",
13 "interface",
14 "endpoint"
15 };
Reilly Grant (use Gerrit) 2015/07/23 23:24:08 "other" is a valid value here.
Ken Rockot(use gerrit already) 2015/07/28 22:30:38 Done.
16
17 dictionary USBControlTransferParameters {
18 required USBRequestType requestType;
19 required USBRecipient recipient;
20 required octet request;
21 required unsigned short value;
22 unsigned short index;
Reilly Grant (use Gerrit) 2015/07/23 23:24:08 The spec was updated to make this field required.
Ken Rockot(use gerrit already) 2015/07/28 22:30:38 Done.
23 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698