Description[webnfc] Step 2.
Add IDL s for NFCRecord, NFCPushOptions, NFCWatchOptions.
enum NFCPushTarget {"tag", "peer"};
dictionary NFCPushOptions {
NFCPushTarget target;
unsigned long timeout;
};
enum NFCRecordType { "empty", "text", "url", "json", "opaque" };
dictionary NFCRecord {
NFCRecordType kind;
USVString type;
any data;
};
dictionary NFCWatchOptions {
USVString url = "";
USVString kind = "";
USVString type = "";
NFCWatchMode mode = "web-nfc-only";
};
enum NFCWatchMode {"web-nfc-only", "any"};
BUG=520391
Committed: https://crrev.com/47f74ffa7fb97338cab582aeffab45d817ea10b6
Cr-Commit-Position: refs/heads/master@{#353717}
Patch Set 1 #
Total comments: 2
Patch Set 2 : remove comment, add a note for blink idl bug. #
Total comments: 6
Patch Set 3 : update idls to reflect changes in spec. #
Total comments: 3
Messages
Total messages: 16 (5 generated)
|