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

Side by Side Diff: Source/core/dom/Touch.idl

Issue 750013004: Added experimental tilt and tiltDirection to the Touch interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make Touch.tilt available behind the enable-experimental-web-platform-features flag 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2008, The Android Open Source Project 2 * Copyright 2008, The Android Open Source Project
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * * Redistributions of source code must retain the above copyright 7 * * Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * * Redistributions in binary form must reproduce the above copyright 9 * * Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 19 matching lines...) Expand all
30 readonly attribute double clientY; 30 readonly attribute double clientY;
31 readonly attribute double screenX; 31 readonly attribute double screenX;
32 readonly attribute double screenY; 32 readonly attribute double screenY;
33 readonly attribute double pageX; 33 readonly attribute double pageX;
34 readonly attribute double pageY; 34 readonly attribute double pageY;
35 readonly attribute EventTarget target; 35 readonly attribute EventTarget target;
36 readonly attribute unsigned long identifier; 36 readonly attribute unsigned long identifier;
37 readonly attribute double radiusX; 37 readonly attribute double radiusX;
38 readonly attribute double radiusY; 38 readonly attribute double radiusY;
39 readonly attribute float force; 39 readonly attribute float force;
40 [RuntimeEnabled=TouchStylusDetails] readonly attribute float tilt;
40 [MeasureAs=PrefixedTouchRadiusX] readonly attribute double webkitRadiusX; 41 [MeasureAs=PrefixedTouchRadiusX] readonly attribute double webkitRadiusX;
41 [MeasureAs=PrefixedTouchRadiusY] readonly attribute double webkitRadiusY; 42 [MeasureAs=PrefixedTouchRadiusY] readonly attribute double webkitRadiusY;
42 [MeasureAs=PrefixedTouchRotationAngle] readonly attribute float webkitRotati onAngle; 43 [MeasureAs=PrefixedTouchRotationAngle] readonly attribute float webkitRotati onAngle;
43 [MeasureAs=PrefixedTouchForce] readonly attribute float webkitForce; 44 [MeasureAs=PrefixedTouchForce] readonly attribute float webkitForce;
44 }; 45 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698