| OLD | NEW |
| 1 part of touch; | |
| 2 | |
| 3 // 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 |
| 4 // 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 |
| 5 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 6 | 4 |
| 7 /** | 5 /** |
| 8 * Touch Handler. Class that handles all touch events and | 6 * Touch Handler. Class that handles all touch events and |
| 9 * uses them to interpret higher level gestures and behaviors. TouchEvent is a | 7 * uses them to interpret higher level gestures and behaviors. TouchEvent is a |
| 10 * built in mobile safari type: | 8 * built in mobile safari type: |
| 11 * [http://developer.apple.com/safari/library/documentation/UserExperience/Refer
ence/TouchEventClassReference/TouchEvent/TouchEvent.html]. | 9 * [http://developer.apple.com/safari/library/documentation/UserExperience/Refer
ence/TouchEventClassReference/TouchEvent/TouchEvent.html]. |
| 12 * | 10 * |
| (...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 | 384 |
| 387 /** | 385 /** |
| 388 * Call this method to enable drag behavior on a draggable delegate. | 386 * Call this method to enable drag behavior on a draggable delegate. |
| 389 * The [draggable] object can be the same as the [_touchable] object, they are | 387 * The [draggable] object can be the same as the [_touchable] object, they are |
| 390 * assigned to different members to allow for strong typing with interfaces. | 388 * assigned to different members to allow for strong typing with interfaces. |
| 391 */ | 389 */ |
| 392 void setDraggable(Draggable draggable) { | 390 void setDraggable(Draggable draggable) { |
| 393 _draggable = draggable; | 391 _draggable = draggable; |
| 394 } | 392 } |
| 395 } | 393 } |
| OLD | NEW |