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

Side by Side Diff: sky/engine/core/events/GestureEvent.idl

Issue 874823002: Move GestureEvent to NewEventDispatcher (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Build fixes 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/GestureEvent.cpp ('k') | sky/engine/core/events/PointerEvent.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 EventConstructor, 6 EventConstructor,
7 ] interface GestureEvent : UIEvent { 7 ] interface GestureEvent : Event {
8 [InitializedByEventConstructor] readonly attribute long screenX; 8 [InitializedByEventConstructor] readonly attribute double x;
9 [InitializedByEventConstructor] readonly attribute long screenY; 9 [InitializedByEventConstructor] readonly attribute double y;
10 [InitializedByEventConstructor] readonly attribute long clientX; 10 [InitializedByEventConstructor] readonly attribute double dx;
11 [InitializedByEventConstructor] readonly attribute long clientY; 11 [InitializedByEventConstructor] readonly attribute double dy;
12 [InitializedByEventConstructor] readonly attribute boolean ctrlKey;
13 [InitializedByEventConstructor] readonly attribute boolean shiftKey;
14 [InitializedByEventConstructor] readonly attribute boolean altKey;
15 [InitializedByEventConstructor] readonly attribute boolean metaKey;
16
17 [InitializedByEventConstructor] readonly attribute double deltaX;
18 [InitializedByEventConstructor] readonly attribute double deltaY;
19 [InitializedByEventConstructor] readonly attribute double velocityX; 12 [InitializedByEventConstructor] readonly attribute double velocityX;
20 [InitializedByEventConstructor] readonly attribute double velocityY; 13 [InitializedByEventConstructor] readonly attribute double velocityY;
21 }; 14 };
OLDNEW
« no previous file with comments | « sky/engine/core/events/GestureEvent.cpp ('k') | sky/engine/core/events/PointerEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698