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

Unified Diff: Source/modules/webusb/USBInTransferResult.idl

Issue 1315683002: WebUSB bindings part 6 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: remote USBTransferStatus.idl Created 5 years, 4 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 | « Source/modules/webusb/USBInTransferResult.h ('k') | Source/modules/webusb/USBOutTransferResult.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webusb/USBInTransferResult.idl
diff --git a/Source/modules/webusb/NavigatorUSB.idl b/Source/modules/webusb/USBInTransferResult.idl
similarity index 53%
copy from Source/modules/webusb/NavigatorUSB.idl
copy to Source/modules/webusb/USBInTransferResult.idl
index e1bdb68241f49fdf04208084639627ae6f823d4d..95f28f6b625006140e340a5ff29d4fbfd224de37 100644
--- a/Source/modules/webusb/NavigatorUSB.idl
+++ b/Source/modules/webusb/USBInTransferResult.idl
@@ -2,11 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// http://reillyeon.github.io/webusb/#device-enumeration
+// http://reillyeon.github.io/webusb/#idl-def-usbintransferresult
[
GarbageCollected,
RuntimeEnabled=WebUSB,
-] partial interface Navigator {
- readonly attribute USB usb;
+] interface USBInTransferResult {
+ readonly attribute ArrayBuffer data;
+ readonly attribute USBTransferStatus status;
};
« no previous file with comments | « Source/modules/webusb/USBInTransferResult.h ('k') | Source/modules/webusb/USBOutTransferResult.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698