summaryrefslogtreecommitdiff
path: root/Source/WebCore/Modules/proximity/DeviceProximityEvent.idl
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/Modules/proximity/DeviceProximityEvent.idl
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/WebCore/Modules/proximity/DeviceProximityEvent.idl')
-rw-r--r--Source/WebCore/Modules/proximity/DeviceProximityEvent.idl13
1 files changed, 9 insertions, 4 deletions
diff --git a/Source/WebCore/Modules/proximity/DeviceProximityEvent.idl b/Source/WebCore/Modules/proximity/DeviceProximityEvent.idl
index 7fe014adf..7ecbfe78e 100644
--- a/Source/WebCore/Modules/proximity/DeviceProximityEvent.idl
+++ b/Source/WebCore/Modules/proximity/DeviceProximityEvent.idl
@@ -19,10 +19,15 @@
[
Conditional=PROXIMITY_EVENTS,
- ConstructorTemplate=Event,
+ Constructor(DOMString type, optional DeviceProximityEventInit eventInitDict),
] interface DeviceProximityEvent : Event {
- [InitializedByEventConstructor] readonly attribute double value;
- [InitializedByEventConstructor] readonly attribute double min;
- [InitializedByEventConstructor] readonly attribute double max;
+ readonly attribute unrestricted double value;
+ readonly attribute unrestricted double min;
+ readonly attribute unrestricted double max;
};
+dictionary DeviceProximityEventInit : EventInit {
+ double value;
+ double min;
+ double max;
+};