Chromium Code Reviews| 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 partial interface Navigator { |
| 8 RuntimeEnabled=WebBluetooth, | 8 [OriginTrialEnabled=WebBluetooth] readonly attribute Bluetooth bluetooth; |
| 9 ] partial interface Navigator { | |
| 10 // [OriginTrialEnabled] doesn't support adding bindings to partial | |
|
iclelland
2016/06/24 03:37:23
Can you add this comment back in? We're close to f
ortuno
2016/06/24 16:01:31
Done.
| |
| 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; | |
| 17 }; | 9 }; |
| OLD | NEW |