| 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 // DO NOT EDIT | 5 // DO NOT EDIT |
| 6 // Auto-generated dart:html library. | 6 // Auto-generated dart:html library. |
| 7 | 7 |
| 8 #library("html"); | 8 #library("html"); |
| 9 | 9 |
| 10 $!GENERATED_DART_FILES | 10 $!GENERATED_DART_FILES |
| 11 #source('src/EventListener.dart'); | |
| 12 #source('src/KeyLocation.dart'); | |
| 13 #source('src/KeyName.dart'); | |
| 14 #source('src/ReadyState.dart'); | |
| 15 #source('src/TimeoutHandler.dart'); | |
| 16 #source('src/_Collections.dart'); | |
| 17 #source('src/frog_FactoryProviders.dart'); | |
| 18 #source('src/_ListIterators.dart'); | |
| 19 #source('src/_Lists.dart'); | |
| 20 | 11 |
| 21 // TODO(jmesserly): do we still need these? | 12 #source('../dom/src/EventListener.dart'); |
| 22 interface DOMType {} | 13 #source('../dom/src/KeyLocation.dart'); |
| 23 class _DOMTypeJs implements DOMType native '*DOMType' {} | 14 #source('../dom/src/KeyName.dart'); |
| 24 | 15 #source('../dom/src/ReadyState.dart'); |
| 16 #source('../dom/src/TimeoutHandler.dart'); |
| 17 #source('../dom/src/_Collections.dart'); |
| 18 #source('../html/src/frog_FactoryProviders.dart'); |
| 19 #source('../html/src/Device.dart'); |
| 20 #source('../dom/src/_ListIterators.dart'); |
| 21 #source('../dom/src/_Lists.dart'); |
| 25 | 22 |
| 26 // TODO(sra): What 'window' do we get in a worker? Perhaps this | 23 // TODO(sra): What 'window' do we get in a worker? Perhaps this |
| 27 // should return the interface type. | 24 // should return the interface type. |
| 28 DOMWindow get window() native "return window;"; | 25 Window get window() native "return window;"; |
| 26 _WindowJs get _window() native "return window;"; |
| 29 | 27 |
| 30 // TODO(vsm): Revert to Dart method when 508 is fixed. | 28 Document get document() native "return window.document.documentElement;"; |
| 31 HTMLDocument get document() native "return window.document;"; | 29 _DocumentJs get _document() native "return window.document.documentElement;"; |
| OLD | NEW |