| Index: third_party/WebCore/Modules/proximity/DeviceProximityEvent.idl
|
| diff --git a/third_party/WebCore/Modules/battery/NavigatorBattery.idl b/third_party/WebCore/Modules/proximity/DeviceProximityEvent.idl
|
| similarity index 71%
|
| copy from third_party/WebCore/Modules/battery/NavigatorBattery.idl
|
| copy to third_party/WebCore/Modules/proximity/DeviceProximityEvent.idl
|
| index 5c2147274f944a5c0d988b0f732e16cbb2c88a52..826090f776017877c33d0ca41856aa355cbc92b7 100644
|
| --- a/third_party/WebCore/Modules/battery/NavigatorBattery.idl
|
| +++ b/third_party/WebCore/Modules/proximity/DeviceProximityEvent.idl
|
| @@ -17,14 +17,15 @@
|
| * Boston, MA 02110-1301, USA.
|
| */
|
|
|
| -module window {
|
| +module core {
|
|
|
| interface [
|
| - Conditional=BATTERY_STATUS,
|
| - Supplemental=Navigator
|
| - ] NavigatorBattery {
|
| - readonly attribute BatteryManager webkitBattery;
|
| + Conditional=PROXIMITY_EVENTS,
|
| + ConstructorTemplate=Event
|
| + ] DeviceProximityEvent : Event {
|
| + readonly attribute [InitializedByEventConstructor] double value;
|
| + readonly attribute [InitializedByEventConstructor] double min;
|
| + readonly attribute [InitializedByEventConstructor] double max;
|
| };
|
|
|
| }
|
| -
|
|
|