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

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

Issue 934203002: Add [TypeChecking=Unrestricted] on Device Orientation interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix custom bindings logic Created 5 years, 10 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..79068e3cd09d98c3d3b9c1f8d2810f169257070f 100644
--- a/Source/modules/device_orientation/DeviceMotionEvent.idl
+++ b/Source/modules/device_orientation/DeviceMotionEvent.idl
@@ -23,7 +23,9 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-interface DeviceMotionEvent : Event {
+[
+ TypeChecking=Unrestricted,
+] interface DeviceMotionEvent : Event {
readonly attribute DeviceAcceleration acceleration;
readonly attribute DeviceAcceleration accelerationIncludingGravity;
readonly attribute DeviceRotationRate rotationRate;

Powered by Google App Engine
This is Rietveld 408576698