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

Unified Diff: modules/bluetooth/BluetoothDevice.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
Index: modules/bluetooth/BluetoothDevice.idl
diff --git a/modules/bluetooth/BluetoothDevice.idl b/modules/bluetooth/BluetoothDevice.idl
index 70ba6f875326080aa034797454ccc319f302436a..13ac4792572252409329f42646fe3b8f692624d8 100644
--- a/modules/bluetooth/BluetoothDevice.idl
+++ b/modules/bluetooth/BluetoothDevice.idl
@@ -13,22 +13,27 @@ enum VendorIDSource {
[
GarbageCollected,
+ DependentLifetime,
RuntimeEnabled=WebBluetooth,
-] interface BluetoothDevice
+ // TODO(https://crbug.com/584113) Enable Web Bluetooth Experiment.
+ // OriginTrialEnabled=WebBluetooth,
+] interface BluetoothDevice : EventTarget
// Implement ServiceEventHandlers interface: http://crbug.com/421670
-// : ServiceEventHandlers
+// : ServiceEventHandlers
{
// Implement BluetoothDevice interface: http://crbug.com/421668
- readonly attribute DOMString instanceID;
+ [DeprecateAs=BluetoothDeviceInstanceId, ImplementedAs=id] readonly attribute DOMString instanceID;
+ readonly attribute DOMString id;
readonly attribute DOMString? name;
-// readonly attribute BluetoothAdvertisingData adData;
+ readonly attribute BluetoothAdvertisingData adData;
readonly attribute unsigned long? deviceClass;
readonly attribute VendorIDSource? vendorIDSource;
readonly attribute unsigned long? vendorID;
readonly attribute unsigned long? productID;
readonly attribute unsigned long? productVersion;
- readonly attribute boolean paired;
-// readonly attribute BluetoothGATTRemoteServer? gattServer;
+ readonly attribute BluetoothRemoteGATTServer gatt;
readonly attribute UUID[] uuids;
- [CallWith=ScriptState] Promise<BluetoothGATTRemoteServer> connectGATT ();
+ [CallWith=ScriptState, DeprecateAs=BluetoothDeviceConnectGATT] Promise<BluetoothRemoteGATTServer> connectGATT ();
+
+ attribute EventHandler ongattserverdisconnected;
};
« no previous file with comments | « modules/bluetooth/BluetoothCharacteristicProperties.idl ('k') | modules/bluetooth/BluetoothGATTCharacteristic.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698