| OLD | NEW |
| 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 BluetoothCharacteristicProperties_h | 5 #ifndef BluetoothCharacteristicProperties_h |
| 6 #define BluetoothCharacteristicProperties_h | 6 #define BluetoothCharacteristicProperties_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | 8 #include "platform/bindings/ScriptWrappable.h" |
| 9 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 // Each BluetoothRemoteGATTCharacteristic exposes its characteristic properties | 13 // Each BluetoothRemoteGATTCharacteristic exposes its characteristic properties |
| 14 // through a BluetoothCharacteristicProperties object. These properties express | 14 // through a BluetoothCharacteristicProperties object. These properties express |
| 15 // what operations are valid on the characteristic. | 15 // what operations are valid on the characteristic. |
| 16 class BluetoothCharacteristicProperties final | 16 class BluetoothCharacteristicProperties final |
| 17 : public GarbageCollected<BluetoothCharacteristicProperties>, | 17 : public GarbageCollected<BluetoothCharacteristicProperties>, |
| 18 public ScriptWrappable { | 18 public ScriptWrappable { |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 kReliableWrite = 1 << 8, | 50 kReliableWrite = 1 << 8, |
| 51 kWritableAuxiliaries = 1 << 9, | 51 kWritableAuxiliaries = 1 << 9, |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 uint32_t properties; | 54 uint32_t properties; |
| 55 }; | 55 }; |
| 56 | 56 |
| 57 } // namespace blink | 57 } // namespace blink |
| 58 | 58 |
| 59 #endif // GamepadButton_h | 59 #endif // GamepadButton_h |
| OLD | NEW |