| 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 : 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 }; |
| OLD | NEW |