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

Unified Diff: modules/nfc/MessageCallback.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/netinfo/NetworkInformation.idl ('k') | modules/nfc/NFC.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/nfc/MessageCallback.idl
diff --git a/modules/background_sync/PeriodicSyncEventInit.idl b/modules/nfc/MessageCallback.idl
similarity index 54%
copy from modules/background_sync/PeriodicSyncEventInit.idl
copy to modules/nfc/MessageCallback.idl
index 60d2b728b8a9eea69f187c8524845b5210a8c763..edbffe5cb76aeab4711319fdc38acfd98477b80c 100644
--- a/modules/background_sync/PeriodicSyncEventInit.idl
+++ b/modules/nfc/MessageCallback.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 PeriodicSyncEventInit : ExtendableEventInit {
- required PeriodicSyncRegistration registration;
+// https://w3c.github.io/web-nfc/#idl-def-messagecallback
+
+callback interface MessageCallback {
+ void handleMessage(NFCMessage message);
};
« no previous file with comments | « modules/netinfo/NetworkInformation.idl ('k') | modules/nfc/NFC.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698