Index: Source/modules/devicelight/DeviceLightEvent.idl |
diff --git a/Source/bindings/tests/idls/TestInterfaceEventTarget.idl b/Source/modules/devicelight/DeviceLightEvent.idl |
similarity index 87% |
copy from Source/bindings/tests/idls/TestInterfaceEventTarget.idl |
copy to Source/modules/devicelight/DeviceLightEvent.idl |
index eee3665a631cb33d4e9d3ae9de989cfa8e639ee5..2739733ea951a5a0a174a1c20834b5ae8bb7a300 100644 |
--- a/Source/bindings/tests/idls/TestInterfaceEventTarget.idl |
+++ b/Source/modules/devicelight/DeviceLightEvent.idl |
@@ -1,5 +1,5 @@ |
/* |
- * Copyright (C) 2013 Google Inc. All rights reserved. |
+ * Copyright (C) 2013 Intel Inc. All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions are |
@@ -29,6 +29,9 @@ |
*/ |
[ |
- NamedConstructor=Name(), |
-] interface TestInterfaceEventTarget : EventTarget { |
+ RuntimeEnabled=DeviceLight, |
+ EventConstructor |
+] |
+interface DeviceLightEvent : Event { |
+ [InitializedByEventConstructor] readonly attribute double value; |
}; |