OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // https://webbluetoothchrome.github.io/web-bluetooth/#idl-def-navigatorbluetoot
h | 5 // https://webbluetoothchrome.github.io/web-bluetooth/#idl-def-navigatorbluetoot
h |
6 | 6 |
7 [ | 7 [ |
8 RuntimeEnabled=WebBluetooth, | 8 RuntimeEnabled=WebBluetooth, |
9 ] partial interface Navigator { | 9 ] partial interface Navigator { |
10 readonly attribute Bluetooth bluetooth; | 10 // Experimental Framework doesn't support adding bindings to partial |
| 11 // interfaces yet, so we add it to the bluetooth attribute instead. |
| 12 // https://crbug.com/585656 |
| 13 [ |
| 14 // TODO(https://crbug.com/584113) Enable Web Bluetooth Experiment. |
| 15 // OriginTrialEnabled=WebBluetooth |
| 16 ] readonly attribute Bluetooth bluetooth; |
11 }; | 17 }; |
OLD | NEW |