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

Unified Diff: Source/modules/device_orientation/DeviceOrientationEvent.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/DeviceOrientationEvent.idl
diff --git a/Source/modules/device_orientation/DeviceOrientationEvent.idl b/Source/modules/device_orientation/DeviceOrientationEvent.idl
index 00e9d0476c40e3d95d6aa5c5ec68cb3ea8e56b3b..4ef0b14c1f6225eda28fe9a58bbd825b8d8a38d6 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);
+ [Custom] void initDeviceOrientationEvent(optional DOMString type,
+ optional boolean bubbles,
+ optional boolean cancelable,
+ optional double alpha,
+ optional double beta,
+ optional double gamma,
+ optional boolean absolute);
};
« no previous file with comments | « Source/modules/device_orientation/DeviceMotionEvent.idl ('k') | Source/modules/filesystem/InspectorFileSystemAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698