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

Unified Diff: sky/engine/core/events/PointerEvent.idl

Issue 846783003: Add PointerEvent interface to Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « sky/engine/core/events/PointerEvent.cpp ('k') | sky/tests/events/pointer-events.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/events/PointerEvent.idl
diff --git a/sky/engine/core/events/PointerEvent.idl b/sky/engine/core/events/PointerEvent.idl
new file mode 100644
index 0000000000000000000000000000000000000000..76979f5fc41f2e683614a1d634bd34794de3176b
--- /dev/null
+++ b/sky/engine/core/events/PointerEvent.idl
@@ -0,0 +1,30 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+[
+ EventConstructor,
+] interface PointerEvent : Event {
+ [InitializedByEventConstructor] readonly attribute long pointer;
+ [InitializedByEventConstructor] readonly attribute DOMString kind;
+ [InitializedByEventConstructor] readonly attribute double x;
+ [InitializedByEventConstructor] readonly attribute double y;
+ [InitializedByEventConstructor] readonly attribute double dx;
+ [InitializedByEventConstructor] readonly attribute double dy;
+ [InitializedByEventConstructor] readonly attribute long buttons;
+ [InitializedByEventConstructor] readonly attribute boolean down;
+ [InitializedByEventConstructor] readonly attribute boolean primary;
+ [InitializedByEventConstructor] readonly attribute boolean obscured;
+ [InitializedByEventConstructor] readonly attribute double pressure;
+ [InitializedByEventConstructor] readonly attribute double pressureMin;
+ [InitializedByEventConstructor] readonly attribute double pressureMax;
+ [InitializedByEventConstructor] readonly attribute double distance;
+ [InitializedByEventConstructor] readonly attribute double distanceMin;
+ [InitializedByEventConstructor] readonly attribute double distanceMax;
+ [InitializedByEventConstructor] readonly attribute double radiusMajor;
+ [InitializedByEventConstructor] readonly attribute double radiusMinor;
+ [InitializedByEventConstructor] readonly attribute double radiusMin;
+ [InitializedByEventConstructor] readonly attribute double radiusMax;
+ [InitializedByEventConstructor] readonly attribute double orientation;
+ [InitializedByEventConstructor] readonly attribute double tilt;
+};
« no previous file with comments | « sky/engine/core/events/PointerEvent.cpp ('k') | sky/tests/events/pointer-events.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698