Index: modules/webusb/USBConnectionEvent.idl |
diff --git a/modules/webusb/USBConnectionEvent.idl b/modules/webusb/USBConnectionEvent.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..beaba0e9c7a8cc2a4def5c19bdbb7b569bcae2f8 |
--- /dev/null |
+++ b/modules/webusb/USBConnectionEvent.idl |
@@ -0,0 +1,12 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// http://wicg.github.io/webusb/#events |
+ |
+[ |
+ Constructor(DOMString type, optional USBConnectionEventInit eventInitDict), |
+ RuntimeEnabled=WebUSB, |
+] interface USBConnectionEvent : Event { |
+ readonly attribute USBDevice device; |
+}; |