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 //OriginTrialEnabled=WebBluetooth, | 8 RuntimeEnabled=WebBluetooth, |
9 ] partial interface Navigator { | 9 ] partial interface Navigator { |
10 // [OriginTrialEnabled] doesn't support adding bindings to partial | 10 // [OriginTrialEnabled] doesn't support adding bindings to partial |
11 // interfaces yet, so we add it to the bluetooth attribute instead. | 11 // interfaces yet, so we add it to the bluetooth attribute instead. |
12 // https://crbug.com/585656 | 12 // https://crbug.com/585656 |
13 [OriginTrialEnabled=WebBluetooth] readonly attribute Bluetooth bluetooth; | 13 [ |
14 // TODO(https://crbug.com/584113) Enable Web Bluetooth Experiment. | |
15 // RuntimeEnabled=WebBluetooth | |
ortuno
2016/04/26 23:36:44
This should be OriginTrialEnabled right?
scheib
2016/04/27 00:43:55
Done.
| |
16 ] readonly attribute Bluetooth bluetooth; | |
14 }; | 17 }; |
OLD | NEW |