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

Unified Diff: modules/device_orientation/DeviceOrientationEvent.idl

Issue 2786203002: Roll 50: Copied IDLs, PYTHON scripts from WebKit removed deleted files in WebCore (Closed)
Patch Set: 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
« no previous file with comments | « modules/device_orientation/DeviceMotionEvent.idl ('k') | modules/device_orientation/DeviceRotationRate.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/device_orientation/DeviceOrientationEvent.idl
diff --git a/modules/device_orientation/DeviceOrientationEvent.idl b/modules/device_orientation/DeviceOrientationEvent.idl
index ab9840d907f36f04175ed659d10998481dbd67a9..e8e0c9d69df10ffaa53ab585888595778e7afde2 100644
--- a/modules/device_orientation/DeviceOrientationEvent.idl
+++ b/modules/device_orientation/DeviceOrientationEvent.idl
@@ -23,11 +23,18 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// http://w3c.github.io/deviceorientation/spec-source-orientation.html#deviceorientation
+
+// TODO(philipj): DeviceOrientationEvent should have a constructor.
interface DeviceOrientationEvent : Event {
readonly attribute double? alpha;
readonly attribute double? beta;
readonly attribute double? gamma;
+ // TODO(philipj): absolute should not be nullable.
readonly attribute boolean? absolute;
+
+ // TODO(philipj): The init*Event() methods are not in the spec:
+ // https://github.com/w3c/deviceorientation/issues/18
[Measure] void initDeviceOrientationEvent([Default=Undefined] optional DOMString type,
[Default=Undefined] optional boolean bubbles,
[Default=Undefined] optional boolean cancelable,
« no previous file with comments | « modules/device_orientation/DeviceMotionEvent.idl ('k') | modules/device_orientation/DeviceRotationRate.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698