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

Unified Diff: third_party/WebKit/Source/modules/webusb/USBDevice.idl

Issue 1781533002: Track USBDevice open state in Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 4 years, 9 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 | « third_party/WebKit/Source/modules/webusb/USBDevice.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/webusb/USBDevice.idl
diff --git a/third_party/WebKit/Source/modules/webusb/USBDevice.idl b/third_party/WebKit/Source/modules/webusb/USBDevice.idl
index 6d3846186102d06cb2991b403f494a9d0503548f..84c2382ad1acb2f457709bcdaa39dd1223d9ee19 100644
--- a/third_party/WebKit/Source/modules/webusb/USBDevice.idl
+++ b/third_party/WebKit/Source/modules/webusb/USBDevice.idl
@@ -32,6 +32,7 @@ enum USBTransferStatus {
readonly attribute DOMString? productName;
readonly attribute DOMString? serialNumber;
readonly attribute sequence<USBConfiguration> configurations;
+ readonly attribute boolean opened;
[CallWith=ScriptState] Promise<void> open();
[CallWith=ScriptState] Promise<void> close();
« no previous file with comments | « third_party/WebKit/Source/modules/webusb/USBDevice.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698