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

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

Issue 337343002: IDL: make optional arguments (without default) explicit sometimes Base URL: https://chromium.googlesource.com/chromium/blink.git@idl-default-arguments-next
Patch Set: Created 6 years, 4 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/DeviceMotionEvent.idl
diff --git a/Source/modules/device_orientation/DeviceMotionEvent.idl b/Source/modules/device_orientation/DeviceMotionEvent.idl
index 5e70a8376ab194aa368ce19d2731490d2e31181e..2014a290dc49a6a10cca9727e32026c898024b45 100644
--- a/Source/modules/device_orientation/DeviceMotionEvent.idl
+++ b/Source/modules/device_orientation/DeviceMotionEvent.idl
@@ -28,11 +28,11 @@ interface DeviceMotionEvent : Event {
readonly attribute DeviceAcceleration accelerationIncludingGravity;
readonly attribute DeviceRotationRate rotationRate;
readonly attribute double? interval;
- [Custom] 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);
+ [Custom] void initDeviceMotionEvent(optional DOMString type,
+ optional boolean bubbles,
+ optional boolean cancelable,
+ optional DeviceAcceleration acceleration,
+ optional DeviceAcceleration accelerationIncludingGravity,
+ optional DeviceRotationRate rotationRate,
+ optional double interval);
};
« no previous file with comments | « Source/modules/beacon/NavigatorBeacon.idl ('k') | Source/modules/device_orientation/DeviceOrientationEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698