summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/modules/device_light/DeviceLightEvent.idl
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/modules/device_light/DeviceLightEvent.idl')
-rw-r--r--chromium/third_party/WebKit/Source/modules/device_light/DeviceLightEvent.idl10
1 files changed, 10 insertions, 0 deletions
diff --git a/chromium/third_party/WebKit/Source/modules/device_light/DeviceLightEvent.idl b/chromium/third_party/WebKit/Source/modules/device_light/DeviceLightEvent.idl
new file mode 100644
index 00000000000..6d3d3b9ed44
--- /dev/null
+++ b/chromium/third_party/WebKit/Source/modules/device_light/DeviceLightEvent.idl
@@ -0,0 +1,10 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+[
+ RuntimeEnabled=DeviceLight,
+ EventConstructor
+] interface DeviceLightEvent : Event {
+ [InitializedByEventConstructor] readonly attribute unrestricted double value;
+};