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

Unified Diff: Source/modules/device_orientation/DeviceOrientationEvent.idl

Issue 1186823014: [bindings] Eliminate custom bindings for DeviceOrientationEvent. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Initialize the constructor to be null Created 5 years, 6 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/device_orientation/DeviceOrientationEvent.idl
diff --git a/Source/modules/device_orientation/DeviceOrientationEvent.idl b/Source/modules/device_orientation/DeviceOrientationEvent.idl
index 00e9d0476c40e3d95d6aa5c5ec68cb3ea8e56b3b..afc3d84e7480c135de3e627062d6566e4c3e3e2a 100644
--- a/Source/modules/device_orientation/DeviceOrientationEvent.idl
+++ b/Source/modules/device_orientation/DeviceOrientationEvent.idl
@@ -28,11 +28,11 @@ interface DeviceOrientationEvent : Event {
readonly attribute double? beta;
readonly attribute double? gamma;
readonly attribute boolean? absolute;
- [Custom] void initDeviceOrientationEvent([Default=Undefined] optional DOMString type,
- [Default=Undefined] optional boolean bubbles,
- [Default=Undefined] optional boolean cancelable,
- [Default=Undefined] optional double alpha,
- [Default=Undefined] optional double beta,
- [Default=Undefined] optional double gamma,
- [Default=Undefined] optional boolean absolute);
+ void initDeviceOrientationEvent([Default=Undefined] optional DOMString type,
+ [Default=Undefined] optional boolean bubbles,
+ [Default=Undefined] optional boolean cancelable,
+ [Default=Undefined] optional double? alpha,
+ [Default=Undefined] optional double? beta,
+ [Default=Undefined] optional double? gamma,
+ [Default=Undefined] optional boolean? absolute);
};

Powered by Google App Engine
This is Rietveld 408576698