Chromium Code Reviews| Index: third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTDescriptor.idl |
| diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTDescriptor.idl b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTDescriptor.idl |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e8c56109030f469722b2b67ae882811330c86929 |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTDescriptor.idl |
| @@ -0,0 +1,19 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +// https://webbluetoothcg.github.io/web-bluetooth/#bluetoothremotegattdescriptor |
| + |
| +// Implement BluetoothRemoteGATTDescriptor interface: https://crbug.com/660699 |
| + |
| +[ |
| + DependentLifetime, |
|
ortuno
2016/12/07 08:05:13
No need for this: https://chromium.googlesource.co
dougt
2016/12/07 19:50:34
Done.
|
| + RuntimeEnabled=WebBluetooth, |
| +] interface BluetoothRemoteGATTDescriptor { |
| + |
| + readonly attribute BluetoothRemoteGATTCharacteristic characteristic; |
| + readonly attribute UUID uuid; |
| + readonly attribute DataView? value; |
| + [CallWith=ScriptState] Promise<DataView> readValue(); |
| + [CallWith=ScriptState] Promise<void> writeValue(BufferSource value); |
| +}; |