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

Unified Diff: third_party/WebKit/Source/modules/bluetooth/BluetoothGATTCharacteristic.idl

Issue 1334763002: bluetooth: Subscribe to notifications (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-origin
Patch Set: Fix global interface test Created 5 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/bluetooth/BluetoothGATTCharacteristic.idl
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothGATTCharacteristic.idl b/third_party/WebKit/Source/modules/bluetooth/BluetoothGATTCharacteristic.idl
index c3e0eea8152ffa1517c5889f96311c53b40cca8d..b6d8d57ea7241a3c634ddd698968639d6a78b9e9 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothGATTCharacteristic.idl
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothGATTCharacteristic.idl
@@ -8,6 +8,7 @@
[
GarbageCollected,
+ ActiveDOMObject,
RuntimeEnabled=WebBluetooth,
] interface BluetoothGATTCharacteristic {//: CharacteristicEventHandlers {
// TODO(ortuno): Add test to make sure service matches the service
@@ -20,6 +21,6 @@
// Promise<sequence<BluetoothGATTDescriptor>> getDescriptors(optional BluetoothDescriptorUUID descriptor);
[CallWith=ScriptState] Promise<ArrayBuffer> readValue();
[CallWith=ScriptState] Promise<void> writeValue(BufferSource value);
- // Promise<void> startNotifications();
- // Promise<void> stopNotifications();
+ [CallWith=ScriptState] Promise<void> startNotifications();
+ [CallWith=ScriptState] Promise<void> stopNotifications();
};

Powered by Google App Engine
This is Rietveld 408576698