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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 [
6 EventConstructor,
7 ] interface PointerEvent : Event {
8 [InitializedByEventConstructor] readonly attribute long pointer;
9 [InitializedByEventConstructor] readonly attribute DOMString kind;
10 [InitializedByEventConstructor] readonly attribute double x;
11 [InitializedByEventConstructor] readonly attribute double y;
12 [InitializedByEventConstructor] readonly attribute double dx;
13 [InitializedByEventConstructor] readonly attribute double dy;
14 [InitializedByEventConstructor] readonly attribute long buttons;
15 [InitializedByEventConstructor] readonly attribute boolean down;
16 [InitializedByEventConstructor] readonly attribute boolean primary;
17 [InitializedByEventConstructor] readonly attribute boolean obscured;
18 [InitializedByEventConstructor] readonly attribute double pressure;
19 [InitializedByEventConstructor] readonly attribute double pressureMin;
20 [InitializedByEventConstructor] readonly attribute double pressureMax;
21 [InitializedByEventConstructor] readonly attribute double distance;
22 [InitializedByEventConstructor] readonly attribute double distanceMin;
23 [InitializedByEventConstructor] readonly attribute double distanceMax;
24 [InitializedByEventConstructor] readonly attribute double radiusMajor;
25 [InitializedByEventConstructor] readonly attribute double radiusMinor;
26 [InitializedByEventConstructor] readonly attribute double radiusMin;
27 [InitializedByEventConstructor] readonly attribute double radiusMax;
28 [InitializedByEventConstructor] readonly attribute double orientation;
29 [InitializedByEventConstructor] readonly attribute double tilt;
30 };
OLDNEW
« 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