| OLD | NEW |
| 1 part of base; | |
| 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 * This class has static fields that hold objects that this isolate | 6 * This class has static fields that hold objects that this isolate |
| 9 * uses to interact with the environment. Which objects are available | 7 * uses to interact with the environment. Which objects are available |
| 10 * depend on how the isolate was started. In the UI isolate | 8 * depend on how the isolate was started. In the UI isolate |
| 11 * of the browser, the window object is available. | 9 * of the browser, the window object is available. |
| 12 */ | 10 */ |
| (...skipping 20 matching lines...) Expand all Loading... |
| 33 /** | 31 /** |
| 34 * Cancel the pending callback callback matching the specified [id]. | 32 * Cancel the pending callback callback matching the specified [id]. |
| 35 */ | 33 */ |
| 36 static void cancelRequestAnimationFrame(int id) { | 34 static void cancelRequestAnimationFrame(int id) { |
| 37 window.clearTimeout(id); | 35 window.clearTimeout(id); |
| 38 _animationScheduler.cancelRequestAnimationFrame(id); | 36 _animationScheduler.cancelRequestAnimationFrame(id); |
| 39 } | 37 } |
| 40 } | 38 } |
| 41 | 39 |
| 42 typedef void XMLHttpRequestCompleted(HttpRequest req); | 40 typedef void XMLHttpRequestCompleted(HttpRequest req); |
| OLD | NEW |