| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // https://w3c.github.io/web-nfc/#idl-def-nfcwatchoptions | 5 // https://w3c.github.io/web-nfc/#the-nfcwatchoptions-dictionary |
| 6 | 6 |
| 7 enum NFCWatchMode { "web-nfc-only", "any" }; | 7 enum NFCWatchMode { "web-nfc-only", "any" }; |
| 8 | 8 |
| 9 [ | 9 dictionary NFCWatchOptions { |
| 10 RuntimeEnabled=WebNFC, | 10 USVString url = ""; |
| 11 ] dictionary NFCWatchOptions { | 11 NFCRecordType? recordType; |
| 12 USVString url = ""; | 12 USVString mediaType = ""; |
| 13 USVString kind = ""; | |
| 14 USVString type = ""; | |
| 15 NFCWatchMode mode = "web-nfc-only"; | 13 NFCWatchMode mode = "web-nfc-only"; |
| 16 }; | 14 }; |
| OLD | NEW |