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

Side by Side Diff: device/nfc/nfc.mojom

Issue 2361813004: Mojo Java bindings: org.chromium.mojom -> org.chromium (Closed)
Patch Set: Created 4 years, 2 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 unified diff | Download patch
OLDNEW
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 module device.nfc; 5 // TODO(rockot): This should probably be moved to nfc.mojom.
6 module device.nfc.mojom;
6 7
7 enum NFCErrorType { 8 enum NFCErrorType {
8 SECURITY, 9 SECURITY,
9 NOT_SUPPORTED, 10 NOT_SUPPORTED,
10 DEVICE_DISABLED, 11 DEVICE_DISABLED,
11 NOT_FOUND, 12 NOT_FOUND,
12 INVALID_MESSAGE, 13 INVALID_MESSAGE,
13 OPERATION_CANCELLED, 14 OPERATION_CANCELLED,
14 TIMER_EXPIRED, 15 TIMER_EXPIRED,
15 CANNOT_CANCEL, 16 CANNOT_CANCEL,
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 // Suspends all pending NFC operations. Could be used when web page 125 // Suspends all pending NFC operations. Could be used when web page
125 // visibility or focus is lost. 126 // visibility or focus is lost.
126 SuspendNFCOperations(); 127 SuspendNFCOperations();
127 128
128 // Resumes all suspended NFC operations. 129 // Resumes all suspended NFC operations.
129 ResumeNFCOperations(); 130 ResumeNFCOperations();
130 }; 131 };
131 132
132 interface NFCClient { 133 interface NFCClient {
133 OnWatch(array<uint32> watch_ids, NFCMessage message); 134 OnWatch(array<uint32> watch_ids, NFCMessage message);
134 }; 135 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698