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

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

Issue 1307483002: Add USBConnectionEvent to webusb module. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@usb_events
Patch Set: Update LayoutTests. 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/USBConnectionEvent.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webusb/USBConnectionEventInit.idl
diff --git a/Source/modules/background_sync/SyncEventInit.idl b/Source/modules/webusb/USBConnectionEventInit.idl
similarity index 59%
copy from Source/modules/background_sync/SyncEventInit.idl
copy to Source/modules/webusb/USBConnectionEventInit.idl
index a7d2f51233d2312d5707e7b68707a4b4183cb234..05115ad81e2e19980fd25a68da8ce02684f6e17d 100644
--- a/Source/modules/background_sync/SyncEventInit.idl
+++ b/Source/modules/webusb/USBConnectionEventInit.idl
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-dictionary SyncEventInit : ExtendableEventInit {
- required SyncRegistration registration;
+// http://reillyeon.github.io/webusb/#events
+
+dictionary USBConnectionEventInit : EventInit {
+ USBDevice device;
};
« no previous file with comments | « Source/modules/webusb/USBConnectionEvent.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698