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

Side by Side 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 palmer'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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebBluetoothGATTCharacteristic_h 5 #ifndef WebBluetoothGATTCharacteristic_h
6 #define WebBluetoothGATTCharacteristic_h 6 #define WebBluetoothGATTCharacteristic_h
7 7
8 #include "public/platform/WebVector.h"
9
8 namespace blink { 10 namespace blink {
9 11
10 // An object through which the embedder can trigger events on a Document-bound 12 // An object through which the embedder can trigger events on a Document-bound
11 // Web Bluetooth GATT Characteristic object. 13 // Web Bluetooth GATT Characteristic object.
12 class WebBluetoothGATTCharacteristic { 14 class WebBluetoothGATTCharacteristic {
13 public: 15 public:
16 // Used to notify blink that the characteristic's value changed.
17 virtual void dispatchCharacteristicValueChanged(const WebVector<uint8_t>&) { };
tkent 2015/10/19 23:00:59 |{ }| -> |= 0|.
ortuno 2015/10/20 01:12:12 Done.
14 }; 18 };
15 19
16 } // namespace blink 20 } // namespace blink
17 21
18 #endif // WebBluetoothGATTCharacteristicDelegate_h 22 #endif // WebBluetoothGATTCharacteristicDelegate_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698