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

Unified Diff: third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothGATTCharacteristic.h

Issue 1382743002: bluetooth: Add characteristicvaluechanged event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-notifications-1
Patch Set: Address tkent's comments 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
« no previous file with comments | « third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothGATTCharacteristic.h
diff --git a/third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothGATTCharacteristic.h b/third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothGATTCharacteristic.h
index efb8c58b73560dc8112220c8807cc4fee25c60af..2f4154cd36cfaaba73807b09b4358b3363043b38 100644
--- a/third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothGATTCharacteristic.h
+++ b/third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothGATTCharacteristic.h
@@ -5,12 +5,16 @@
#ifndef WebBluetoothGATTCharacteristic_h
#define WebBluetoothGATTCharacteristic_h
+#include "public/platform/WebVector.h"
+
namespace blink {
// An object through which the embedder can trigger events on a Document-bound
// Web Bluetooth GATT Characteristic object.
class WebBluetoothGATTCharacteristic {
public:
+ // Used to notify blink that the characteristic's value changed.
+ virtual void dispatchCharacteristicValueChanged(const WebVector<uint8_t>&) = 0;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698