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://www.w3.org/TR/2015/WD-ambient-light-20150903/#devicelightevent-interf
ace | 5 // https://www.w3.org/TR/2015/WD-ambient-light-20150903/#devicelightevent-interf
ace |
6 | 6 |
| 7 // TODO(foolip): Remove DeviceLightEvent. https://crbug.com/711577 |
| 8 |
7 [ | 9 [ |
8 RuntimeEnabled=DeviceLight, | 10 RuntimeEnabled=DeviceLight, |
9 Constructor(DOMString type, optional DeviceLightEventInit eventInitDict), | 11 Constructor(DOMString type, optional DeviceLightEventInit eventInitDict), |
10 ] interface DeviceLightEvent : Event { | 12 ] interface DeviceLightEvent : Event { |
11 readonly attribute unrestricted double value; | 13 readonly attribute unrestricted double value; |
12 }; | 14 }; |
OLD | NEW |