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

Side by Side Diff: lib/html/src/TouchEvent.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 TouchEvent extends UIEvent default TouchEventWrappingImplementation { 5 interface TouchEvent extends UIEvent default TouchEventWrappingImplementation {
6 6
7 TouchEvent(TouchList touches, TouchList targetTouches, 7 TouchEvent(TouchList touches, TouchList targetTouches,
8 TouchList changedTouches, String type, Window view, int screenX, 8 TouchList changedTouches, String type, Window view, int screenX,
9 int screenY, int clientX, int clientY, [bool ctrlKey, bool altKey, 9 int screenY, int clientX, int clientY, [bool ctrlKey, bool altKey,
10 bool shiftKey, bool metaKey]); 10 bool shiftKey, bool metaKey]);
11 11
12 bool get altKey(); 12 bool get altKey;
13 13
14 TouchList get changedTouches(); 14 TouchList get changedTouches;
15 15
16 bool get ctrlKey(); 16 bool get ctrlKey;
17 17
18 bool get metaKey(); 18 bool get metaKey;
19 19
20 bool get shiftKey(); 20 bool get shiftKey;
21 21
22 TouchList get targetTouches(); 22 TouchList get targetTouches;
23 23
24 TouchList get touches(); 24 TouchList get touches;
25 } 25 }
OLDNEW
« no previous file with comments | « lib/html/src/TextEventWrappingImplementation.dart ('k') | lib/html/src/TouchEventWrappingImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698