| 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 #import('dart:dom', prefix:'dom'); | 10 #import('dart:dom', prefix:'dom'); |
| 11 | 11 |
| 12 $!GENERATED_DART_FILES | 12 $!GENERATED_DART_FILES |
| 13 | 13 |
| 14 #source('../dom/src/EventListener.dart'); | 14 #source('../../dom/src/EventListener.dart'); |
| 15 #source('../dom/src/KeyLocation.dart'); | 15 #source('../../dom/src/KeyLocation.dart'); |
| 16 #source('../dom/src/KeyName.dart'); | 16 #source('../../dom/src/KeyName.dart'); |
| 17 #source('../dom/src/ReadyState.dart'); | 17 #source('../../dom/src/ReadyState.dart'); |
| 18 #source('../dom/src/TimeoutHandler.dart'); | 18 #source('../../dom/src/TimeoutHandler.dart'); |
| 19 #source('../dom/src/_Collections.dart'); | 19 #source('../../dom/src/_Collections.dart'); |
| 20 #source('../dom/src/_XMLHttpRequestUtils.dart'); | 20 #source('../../dom/src/_XMLHttpRequestUtils.dart'); |
| 21 #source('../html/src/shared_FactoryProviders.dart'); | 21 #source('../../html/src/shared_FactoryProviders.dart'); |
| 22 #source('../html/src/dartium_FactoryProviders.dart'); | 22 #source('../../html/src/dartium_FactoryProviders.dart'); |
| 23 #source('../html/src/Measurement.dart'); | 23 #source('../../html/src/Measurement.dart'); |
| 24 #source('../html/src/Device.dart'); | 24 #source('../../html/src/Device.dart'); |
| 25 #source('../html/src/_Testing.dart'); | 25 #source('../../html/src/_Testing.dart'); |
| 26 #source('../html/src/_DOMTypeBase.dart'); | 26 #source('../../html/src/_DOMTypeBase.dart'); |
| 27 #source('../dom/src/_ListIterators.dart'); | 27 #source('../../dom/src/_ListIterators.dart'); |
| 28 #source('../dom/src/_Lists.dart'); | 28 #source('../../dom/src/_Lists.dart'); |
| 29 | 29 |
| 30 _WindowImpl __window; | 30 _WindowImpl __window; |
| 31 _DocumentImpl __document; | 31 _DocumentImpl __document; |
| 32 | 32 |
| 33 void _initialize() { | 33 void _initialize() { |
| 34 __window = _wrap(dom.window); | 34 __window = _wrap(dom.window); |
| 35 __document = _wrap(dom.document.documentElement); | 35 __document = _wrap(dom.document.documentElement); |
| 36 } | 36 } |
| 37 | 37 |
| 38 Window get window() { | 38 Window get window() { |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 switch(domObject.typeName) { | 76 switch(domObject.typeName) { |
| 77 case 'HTMLDocument': | 77 case 'HTMLDocument': |
| 78 throw 'A document should never be wrapped directly. TODO(jacobr) XXX'; | 78 throw 'A document should never be wrapped directly. TODO(jacobr) XXX'; |
| 79 case 'HTMLHtmlElement': | 79 case 'HTMLHtmlElement': |
| 80 return new _DocumentImpl._wrap(domObject); | 80 return new _DocumentImpl._wrap(domObject); |
| 81 $WRAPCASES | 81 $WRAPCASES |
| 82 default: | 82 default: |
| 83 throw 'Unrecognized object $domObject. Name=${domObject.typeName}'; | 83 throw 'Unrecognized object $domObject. Name=${domObject.typeName}'; |
| 84 } | 84 } |
| 85 } | 85 } |
| OLD | NEW |