| OLD | NEW |
| 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 // DO NOT EDIT | 5 // DO NOT EDIT |
| 6 // Auto-generated Dart DOM library. | 6 // Auto-generated Dart DOM library. |
| 7 | 7 |
| 8 #library("dom"); | 8 #library("dom"); |
| 9 #native("frog_dom.js"); | 9 #native("frog_dom.js"); |
| 10 | 10 |
| 11 $!GENERATED_DART_FILES | 11 $!GENERATED_DART_FILES |
| 12 #source('src/EventListener.dart'); | 12 #source('src/EventListener.dart'); |
| 13 #source('src/KeyLocation.dart'); |
| 14 #source('src/KeyName.dart'); |
| 13 #source('src/RequestAnimationFrameCallback.dart'); | 15 #source('src/RequestAnimationFrameCallback.dart'); |
| 14 #source('src/TimeoutHandler.dart'); | 16 #source('src/TimeoutHandler.dart'); |
| 15 #source('src/_Collections.dart'); | 17 #source('src/_Collections.dart'); |
| 16 // #source('src/_FactoryProviders.dart'); | 18 // #source('src/_FactoryProviders.dart'); |
| 17 #source('src/_ListIterators.dart'); | 19 #source('src/_ListIterators.dart'); |
| 18 #source('src/_Lists.dart'); | 20 #source('src/_Lists.dart'); |
| 19 | 21 |
| 20 // TODO(jmesserly): 'native' here is aWork-around for Frog bug. Frog needs to | 22 // TODO(jmesserly): 'native' here is aWork-around for Frog bug. Frog needs to |
| 21 // be smarter about inheriting from a hidden native type (in this case | 23 // be smarter about inheriting from a hidden native type (in this case |
| 22 // DOMWindow) | 24 // DOMWindow) |
| 23 class Window extends DOMWindow native "*Window" {} | 25 class Window extends DOMWindow native "*Window" {} |
| 24 DOMWindow get window() native "return window;"; | 26 DOMWindow get window() native "return window;"; |
| 25 // TODO(vsm): Revert to Dart method when 508 is fixed. | 27 // TODO(vsm): Revert to Dart method when 508 is fixed. |
| 26 HTMLDocument get document() native "return window.document;"; | 28 HTMLDocument get document() native "return window.document;"; |
| OLD | NEW |