OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // TODO(gdk): The string-style enumerations are temporary, and will be removed | 5 // TODO(gdk): The string-style enumerations are temporary, and will be removed |
6 // once full enumeration support is added. Also, the array-of-longs are | 6 // once full enumeration support is added. Also, the array-of-longs are |
7 // temporary and will be removed once there is full ArrayBuffer support. | 7 // temporary and will be removed once there is full ArrayBuffer support. |
8 | 8 |
9 [nodoc] namespace experimental.usb { | 9 [nodoc] namespace experimental.usb { |
10 | 10 |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 // |callback|: Invoked once the transfer has completed. | 137 // |callback|: Invoked once the transfer has completed. |
138 static void interruptTransfer(Device device, | 138 static void interruptTransfer(Device device, |
139 GenericTransferInfo transferInfo, optional TransferCallback callback); | 139 GenericTransferInfo transferInfo, optional TransferCallback callback); |
140 }; | 140 }; |
141 | 141 |
142 interface Events { | 142 interface Events { |
143 static void onEvent(UsbEvent event); | 143 static void onEvent(UsbEvent event); |
144 }; | 144 }; |
145 | 145 |
146 }; | 146 }; |
OLD | NEW |