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

Unified Diff: third_party/WebKit/Source/modules/device_orientation/DeviceMotionEvent.idl

Issue 2728963004: Remove non-standard DeviceOrientation Event initializers. (Closed)
Patch Set: Rebased. Created 3 years, 9 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: third_party/WebKit/Source/modules/device_orientation/DeviceMotionEvent.idl
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionEvent.idl b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionEvent.idl
index 079cc1ddeb313ae975cce46d1dbfc8474d637352..5477afd61d32058f0179e3dc42fd25407a600e5d 100644
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionEvent.idl
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionEvent.idl
@@ -31,14 +31,4 @@ interface DeviceMotionEvent : Event {
readonly attribute DeviceAcceleration? accelerationIncludingGravity;
readonly attribute DeviceRotationRate? rotationRate;
readonly attribute double? interval;
-
- // TODO(foolip): The init*Event() methods are not in the spec:
- // https://github.com/w3c/deviceorientation/issues/18
- [Custom, Measure] void initDeviceMotionEvent([Default=Undefined] optional DOMString type,
- [Default=Undefined] optional boolean bubbles,
- [Default=Undefined] optional boolean cancelable,
- [Default=Undefined] optional DeviceAcceleration acceleration,
- [Default=Undefined] optional DeviceAcceleration accelerationIncludingGravity,
- [Default=Undefined] optional DeviceRotationRate rotationRate,
- [Default=Undefined] optional double interval);
};

Powered by Google App Engine
This is Rietveld 408576698