OLD | NEW |
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 : Event { | 7 ] interface GestureEvent : Event { |
| 8 [InitializedByEventConstructor] readonly attribute long primaryPointer; |
8 [InitializedByEventConstructor] readonly attribute double x; | 9 [InitializedByEventConstructor] readonly attribute double x; |
9 [InitializedByEventConstructor] readonly attribute double y; | 10 [InitializedByEventConstructor] readonly attribute double y; |
10 [InitializedByEventConstructor] readonly attribute double dx; | 11 [InitializedByEventConstructor] readonly attribute double dx; |
11 [InitializedByEventConstructor] readonly attribute double dy; | 12 [InitializedByEventConstructor] readonly attribute double dy; |
12 [InitializedByEventConstructor] readonly attribute double velocityX; | 13 [InitializedByEventConstructor] readonly attribute double velocityX; |
13 [InitializedByEventConstructor] readonly attribute double velocityY; | 14 [InitializedByEventConstructor] readonly attribute double velocityY; |
14 }; | 15 }; |
OLD | NEW |