Chromium Code Reviews| Index: Source/modules/device_light/DeviceLightEvent.idl |
| diff --git a/Source/modules/battery/NavigatorBattery.idl b/Source/modules/device_light/DeviceLightEvent.idl |
| similarity index 51% |
| copy from Source/modules/battery/NavigatorBattery.idl |
| copy to Source/modules/device_light/DeviceLightEvent.idl |
| index 524bf238c12fc3d0cae9056d4e0dd9df8ce44c81..b08a1c2bdcfbf60e95f06eff60587851f638ea34 100644 |
| --- a/Source/modules/battery/NavigatorBattery.idl |
| +++ b/Source/modules/device_light/DeviceLightEvent.idl |
| @@ -3,8 +3,9 @@ |
| // found in the LICENSE file. |
| [ |
| - RuntimeEnabled=BatteryStatus, |
| -] partial interface Navigator { |
| - readonly attribute BatteryManager battery; |
| + RuntimeEnabled=DeviceLight, |
| + EventConstructor |
| +] |
| +interface DeviceLightEvent : Event { |
|
Inactive
2014/04/15 15:56:12
We usually put interface on the same line as the c
riju_
2014/04/22 13:11:29
Done.
|
| + [InitializedByEventConstructor] readonly attribute double value; |
| }; |
| - |