diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/Modules/proximity/DeviceProximityEvent.idl | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/WebCore/Modules/proximity/DeviceProximityEvent.idl')
-rw-r--r-- | Source/WebCore/Modules/proximity/DeviceProximityEvent.idl | 13 |
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; +}; |