Chromium Code Reviews| 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('$AUXILIARY_DIR/EventListener.dart'); |
| 15 #source('../../dom/src/KeyLocation.dart'); | 15 #source('$AUXILIARY_DIR/KeyLocation.dart'); |
| 16 #source('../../dom/src/KeyName.dart'); | 16 #source('$AUXILIARY_DIR/KeyName.dart'); |
| 17 #source('../../dom/src/ReadyState.dart'); | 17 #source('$AUXILIARY_DIR/ReadyState.dart'); |
| 18 #source('../../dom/src/_Collections.dart'); | 18 #source('$AUXILIARY_DIR/_Collections.dart'); |
| 19 #source('../../dom/src/_XMLHttpRequestUtils.dart'); | 19 #source('$AUXILIARY_DIR/_XMLHttpRequestUtils.dart'); |
| 20 #source('../../html/src/shared_FactoryProviders.dart'); | 20 #source('$AUXILIARY_DIR/../../html/src/shared_FactoryProviders.dart'); |
|
sra1
2012/04/19 18:17:10
I think this would be cleaner with some symmetry b
| |
| 21 #source('../../html/src/dartium_FactoryProviders.dart'); | 21 #source('$AUXILIARY_DIR/../../html/src/dartium_FactoryProviders.dart'); |
| 22 #source('../../html/src/Measurement.dart'); | 22 #source('$AUXILIARY_DIR/../../html/src/Measurement.dart'); |
| 23 #source('../../html/src/Device.dart'); | 23 #source('$AUXILIARY_DIR/../../html/src/Device.dart'); |
| 24 #source('../../html/src/_Testing.dart'); | 24 #source('$AUXILIARY_DIR/../../html/src/_Testing.dart'); |
| 25 #source('../../html/src/_DOMTypeBase.dart'); | 25 #source('$AUXILIARY_DIR/../../html/src/_DOMTypeBase.dart'); |
| 26 #source('../../dom/src/_ListIterators.dart'); | 26 #source('$AUXILIARY_DIR/_ListIterators.dart'); |
| 27 #source('../../dom/src/_Lists.dart'); | 27 #source('$AUXILIARY_DIR/_Lists.dart'); |
| 28 | 28 |
| 29 _WindowImpl __window; | 29 _WindowImpl __window; |
| 30 _DocumentImpl __document; | 30 _DocumentImpl __document; |
| 31 | 31 |
| 32 void _initialize() { | 32 void _initialize() { |
| 33 __window = _wrap(dom.window); | 33 __window = _wrap(dom.window); |
| 34 __document = _wrap(dom.document); | 34 __document = _wrap(dom.document); |
| 35 } | 35 } |
| 36 | 36 |
| 37 Window get window() { | 37 Window get window() { |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 75 switch(domObject.typeName) { | 75 switch(domObject.typeName) { |
| 76 case 'HTMLElement': | 76 case 'HTMLElement': |
| 77 return new _UnknownElementImpl._wrap(domObject); | 77 return new _UnknownElementImpl._wrap(domObject); |
| 78 $WRAPCASES | 78 $WRAPCASES |
| 79 case 'HTMLDocument': | 79 case 'HTMLDocument': |
| 80 return new _DocumentImpl._wrap(domObject); | 80 return new _DocumentImpl._wrap(domObject); |
| 81 default: | 81 default: |
| 82 throw 'Unrecognized object $domObject. Name=${domObject.typeName}'; | 82 throw 'Unrecognized object $domObject. Name=${domObject.typeName}'; |
| 83 } | 83 } |
| 84 } | 84 } |
| OLD | NEW |