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

Side by Side Diff: lib/html/src/WheelEvent.dart

Issue 10919146: Get rid of a lot of () for getters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 interface WheelEvent extends UIEvent default WheelEventWrappingImplementation { 5 interface WheelEvent extends UIEvent default WheelEventWrappingImplementation {
6 6
7 WheelEvent(int deltaX, int deltaY, Window view, int screenX, int screenY, 7 WheelEvent(int deltaX, int deltaY, Window view, int screenX, int screenY,
8 int clientX, int clientY, [bool ctrlKey, bool altKey, bool shiftKey, 8 int clientX, int clientY, [bool ctrlKey, bool altKey, bool shiftKey,
9 bool metaKey]); 9 bool metaKey]);
10 10
11 bool get altKey(); 11 bool get altKey;
12 12
13 int get clientX(); 13 int get clientX;
14 14
15 int get clientY(); 15 int get clientY;
16 16
17 bool get ctrlKey(); 17 bool get ctrlKey;
18 18
19 bool get metaKey(); 19 bool get metaKey;
20 20
21 int get offsetX(); 21 int get offsetX;
22 22
23 int get offsetY(); 23 int get offsetY;
24 24
25 int get screenX(); 25 int get screenX;
26 26
27 int get screenY(); 27 int get screenY;
28 28
29 bool get shiftKey(); 29 bool get shiftKey;
30 30
31 int get wheelDelta(); 31 int get wheelDelta;
32 32
33 int get wheelDeltaX(); 33 int get wheelDeltaX;
34 34
35 int get wheelDeltaY(); 35 int get wheelDeltaY;
36 36
37 int get x(); 37 int get x;
38 38
39 int get y(); 39 int get y;
40 } 40 }
OLDNEW
« no previous file with comments | « lib/html/src/UIEventWrappingImplementation.dart ('k') | lib/html/src/WheelEventWrappingImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698