| 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 | 11 |
| 12 #source('../dom/src/EventListener.dart'); | 12 #source('../../dom/src/EventListener.dart'); |
| 13 #source('../dom/src/KeyLocation.dart'); | 13 #source('../../dom/src/KeyLocation.dart'); |
| 14 #source('../dom/src/KeyName.dart'); | 14 #source('../../dom/src/KeyName.dart'); |
| 15 #source('../dom/src/ReadyState.dart'); | 15 #source('../../dom/src/ReadyState.dart'); |
| 16 #source('../dom/src/TimeoutHandler.dart'); | 16 #source('../../dom/src/TimeoutHandler.dart'); |
| 17 #source('../dom/src/_Collections.dart'); | 17 #source('../../dom/src/_Collections.dart'); |
| 18 #source('../dom/src/_XMLHttpRequestUtils.dart'); | 18 #source('../../dom/src/_XMLHttpRequestUtils.dart'); |
| 19 #source('../html/src/Measurement.dart'); | 19 #source('../../html/src/Measurement.dart'); |
| 20 #source('../html/src/shared_FactoryProviders.dart'); | 20 #source('../../html/src/shared_FactoryProviders.dart'); |
| 21 #source('../html/src/frog_FactoryProviders.dart'); | 21 #source('../../html/src/frog_FactoryProviders.dart'); |
| 22 #source('../html/src/_Testing.dart'); | 22 #source('../../html/src/_Testing.dart'); |
| 23 #source('../html/src/Device.dart'); | 23 #source('../../html/src/Device.dart'); |
| 24 #source('../dom/src/_ListIterators.dart'); | 24 #source('../../dom/src/_ListIterators.dart'); |
| 25 #source('../dom/src/_Lists.dart'); | 25 #source('../../dom/src/_Lists.dart'); |
| 26 | 26 |
| 27 _WindowImpl _cachedWindow; | 27 _WindowImpl _cachedWindow; |
| 28 _DocumentImpl _cachedDocument; | 28 _DocumentImpl _cachedDocument; |
| 29 | 29 |
| 30 void _init() { | 30 void _init() { |
| 31 _cachedDocument = _document; | 31 _cachedDocument = _document; |
| 32 _cachedWindow = _window; | 32 _cachedWindow = _window; |
| 33 // Feature detect that dart:dom and dart:html are not both loaded by | 33 // Feature detect that dart:dom and dart:html are not both loaded by |
| 34 // checking for the presence of a bug that manifests itself when both | 34 // checking for the presence of a bug that manifests itself when both |
| 35 // libraries are loaded. | 35 // libraries are loaded. |
| (...skipping 25 matching lines...) Expand all Loading... |
| 61 } | 61 } |
| 62 return _cachedDocument; | 62 return _cachedDocument; |
| 63 } | 63 } |
| 64 | 64 |
| 65 _DocumentImpl get _document() native "return window.document.documentElement;"; | 65 _DocumentImpl get _document() native "return window.document.documentElement;"; |
| 66 | 66 |
| 67 // Workaround for tags like <cite> that lack their own Element subclass -- | 67 // Workaround for tags like <cite> that lack their own Element subclass -- |
| 68 // Dart issue 1990. | 68 // Dart issue 1990. |
| 69 class _HTMLElementImpl extends _ElementImpl native "*HTMLElement" { | 69 class _HTMLElementImpl extends _ElementImpl native "*HTMLElement" { |
| 70 } | 70 } |
| OLD | NEW |