Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2332)

Unified Diff: Source/modules/devicelight/DeviceLightEvent.idl

Issue 143823004: Implement DeviceLight (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: DeviceLight API working fine (make the flag back to status=experimental) Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
};

Powered by Google App Engine
This is Rietveld 408576698