| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 part of $LIBRARYNAME; | 5 part of $LIBRARYNAME; |
| 6 | 6 |
| 7 @DocsEditable() | 7 @DocsEditable() |
| 8 $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS
{ | 8 $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS
{ |
| 9 $!MEMBERS | 9 $!MEMBERS |
| 10 | 10 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 int get __screenX => _blink.BlinkTouch.instance.screenX_Getter_(this).round(); | 25 int get __screenX => _blink.BlinkTouch.instance.screenX_Getter_(this).round(); |
| 26 int get __screenY => _blink.BlinkTouch.instance.screenY_Getter_(this).round(); | 26 int get __screenY => _blink.BlinkTouch.instance.screenY_Getter_(this).round(); |
| 27 int get __pageX => _blink.BlinkTouch.instance.pageX_Getter_(this).round(); | 27 int get __pageX => _blink.BlinkTouch.instance.pageX_Getter_(this).round(); |
| 28 int get __pageY => _blink.BlinkTouch.instance.pageY_Getter_(this).round(); | 28 int get __pageY => _blink.BlinkTouch.instance.pageY_Getter_(this).round(); |
| 29 int get __radiusX => _blink.BlinkTouch.instance.radiusX_Getter_(this).round(); | 29 int get __radiusX => _blink.BlinkTouch.instance.radiusX_Getter_(this).round(); |
| 30 int get __radiusY => _blink.BlinkTouch.instance.radiusY_Getter_(this).round(); | 30 int get __radiusY => _blink.BlinkTouch.instance.radiusY_Getter_(this).round(); |
| 31 $endif | 31 $endif |
| 32 | 32 |
| 33 @DomName('Touch.clientX') | 33 @DomName('Touch.clientX') |
| 34 @DomName('Touch.clientY') | 34 @DomName('Touch.clientY') |
| 35 Point get client => new Point(__clientX, __clientY); | 35 Point get client => new Point/*<num>*/(__clientX, __clientY); |
| 36 | 36 |
| 37 @DomName('Touch.pageX') | 37 @DomName('Touch.pageX') |
| 38 @DomName('Touch.pageY') | 38 @DomName('Touch.pageY') |
| 39 Point get page => new Point(__pageX, __pageY); | 39 Point get page => new Point/*<num>*/(__pageX, __pageY); |
| 40 | 40 |
| 41 @DomName('Touch.screenX') | 41 @DomName('Touch.screenX') |
| 42 @DomName('Touch.screenY') | 42 @DomName('Touch.screenY') |
| 43 Point get screen => new Point(__screenX, __screenY); | 43 Point get screen => new Point/*<num>*/(__screenX, __screenY); |
| 44 | 44 |
| 45 @DomName('Touch.radiusX') | 45 @DomName('Touch.radiusX') |
| 46 @DocsEditable() | 46 @DocsEditable() |
| 47 @SupportedBrowser(SupportedBrowser.CHROME) | 47 @SupportedBrowser(SupportedBrowser.CHROME) |
| 48 @SupportedBrowser(SupportedBrowser.SAFARI) | 48 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 49 @Experimental() | 49 @Experimental() |
| 50 int get radiusX => __radiusX; | 50 int get radiusX => __radiusX; |
| 51 | 51 |
| 52 @DomName('Touch.radiusY') | 52 @DomName('Touch.radiusY') |
| 53 @DocsEditable() | 53 @DocsEditable() |
| 54 @SupportedBrowser(SupportedBrowser.CHROME) | 54 @SupportedBrowser(SupportedBrowser.CHROME) |
| 55 @SupportedBrowser(SupportedBrowser.SAFARI) | 55 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 56 @Experimental() | 56 @Experimental() |
| 57 int get radiusY => __radiusY; | 57 int get radiusY => __radiusY; |
| 58 | 58 |
| 59 } | 59 } |
| OLD | NEW |