Index: modules/bluetooth/BluetoothCharacteristicProperties.idl |
diff --git a/modules/bluetooth/BluetoothCharacteristicProperties.idl b/modules/bluetooth/BluetoothCharacteristicProperties.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ca87d7ddb7c2fec86216db14d8409ce850b824a9 |
--- /dev/null |
+++ b/modules/bluetooth/BluetoothCharacteristicProperties.idl |
@@ -0,0 +1,24 @@ |
+// Copyright 2015 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/#characteristicproperties |
+ |
+// Implement BluetoothCharacteristicProperties interface: http://crbug.com/483345 |
+ |
+[ |
+ GarbageCollected, |
+ RuntimeEnabled=WebBluetooth, |
+ // TODO(https://crbug.com/584113) Enable Web Bluetooth Experiment. |
+ // OriginTrialEnabled=WebBluetooth, |
+] interface BluetoothCharacteristicProperties { |
+ readonly attribute boolean broadcast; |
+ readonly attribute boolean read; |
+ readonly attribute boolean writeWithoutResponse; |
+ readonly attribute boolean write; |
+ readonly attribute boolean notify; |
+ readonly attribute boolean indicate; |
+ readonly attribute boolean authenticatedSignedWrites; |
+ readonly attribute boolean reliableWrite; |
+ readonly attribute boolean writableAuxiliaries; |
+}; |