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

Unified Diff: modules/webusb/NavigatorUSB.idl

Issue 2786203002: Roll 50: Copied IDLs, PYTHON scripts from WebKit removed deleted files in WebCore (Closed)
Patch Set: Created 3 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 | « modules/websockets/WebSocket.idl ('k') | modules/webusb/USB.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/webusb/NavigatorUSB.idl
diff --git a/modules/background_sync/ServiceWorkerGlobalScopeSync.idl b/modules/webusb/NavigatorUSB.idl
similarity index 50%
copy from modules/background_sync/ServiceWorkerGlobalScopeSync.idl
copy to modules/webusb/NavigatorUSB.idl
index f8a766a26f2ec6a1869431aff96ae52d66044abf..d916a0eab9e1efec91e0a6365fddb5099b9b0931 100644
--- a/modules/background_sync/ServiceWorkerGlobalScopeSync.idl
+++ b/modules/webusb/NavigatorUSB.idl
@@ -2,9 +2,11 @@
// 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/#device-enumeration
+
[
- RuntimeEnabled=BackgroundSync,
-] partial interface ServiceWorkerGlobalScope {
- attribute EventHandler onsync;
- attribute EventHandler onperiodicsync;
+ GarbageCollected,
+ RuntimeEnabled=WebUSB,
+] partial interface Navigator {
+ readonly attribute USB usb;
};
« no previous file with comments | « modules/websockets/WebSocket.idl ('k') | modules/webusb/USB.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698