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

Unified Diff: Source/modules/device_light/DeviceLightEventInit.idl

Issue 775763007: Use event init dictionary in modules/device_light (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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/device_light/DeviceLightEventInit.idl
diff --git a/Source/core/html/HTMLPictureElement.idl b/Source/modules/device_light/DeviceLightEventInit.idl
similarity index 54%
copy from Source/core/html/HTMLPictureElement.idl
copy to Source/modules/device_light/DeviceLightEventInit.idl
index 649316cb8a1be19e29c17f14bfbc5b6e10397164..c7245e6ee91643eedda3946bcde417d2703077ea 100644
--- a/Source/core/html/HTMLPictureElement.idl
+++ b/Source/modules/device_light/DeviceLightEventInit.idl
@@ -2,9 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
timvolodine 2014/12/11 18:38:46 the diff on the left seems unrelated, could you up
bashi 2014/12/11 23:56:16 Done.
-// http://picture.responsiveimages.org
-[
- RuntimeEnabled=Picture
-] interface HTMLPictureElement : HTMLElement {
-};
+// http://w3c.github.io/ambient-light/#idl-def-DeviceLightEvent
+dictionary DeviceLightEventInit : EventInit {
+ unrestricted double value;
+};

Powered by Google App Engine
This is Rietveld 408576698