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 // TODO(blundell): This should be moved to device.mojom. | 5 // TODO(blundell): This should be moved to device.mojom. |
6 module device.nfc.mojom; | 6 module device.nfc.mojom; |
7 | 7 |
8 enum NFCErrorType { | 8 enum NFCErrorType { |
9 SECURITY, | 9 SECURITY, |
10 NOT_SUPPORTED, | 10 NOT_SUPPORTED, |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 // visibility or focus is lost. | 129 // visibility or focus is lost. |
130 SuspendNFCOperations(); | 130 SuspendNFCOperations(); |
131 | 131 |
132 // Resumes all suspended NFC operations. | 132 // Resumes all suspended NFC operations. |
133 ResumeNFCOperations(); | 133 ResumeNFCOperations(); |
134 }; | 134 }; |
135 | 135 |
136 interface NFCClient { | 136 interface NFCClient { |
137 OnWatch(array<uint32> watch_ids, NFCMessage message); | 137 OnWatch(array<uint32> watch_ids, NFCMessage message); |
138 }; | 138 }; |
OLD | NEW |