| 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 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 part of $LIBRARYNAME; | 7 part of $LIBRARYNAME; |
| 8 | 8 |
| 9 $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { | 9 $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
| 10 $!MEMBERS | 10 $!MEMBERS |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 * * OutputElement | 235 * * OutputElement |
| 236 * * ParagraphElement | 236 * * ParagraphElement |
| 237 * * PreElement | 237 * * PreElement |
| 238 * * ProgressElement | 238 * * ProgressElement |
| 239 * * SelectElement | 239 * * SelectElement |
| 240 * * SpanElement | 240 * * SpanElement |
| 241 * * UListElement | 241 * * UListElement |
| 242 * * VideoElement | 242 * * VideoElement |
| 243 */ | 243 */ |
| 244 $if DART2JS | 244 $if DART2JS |
| 245 void register(String tag, Type customElementClass, {String nativeTagName}) { | 245 void register(String tag, Type customElementClass, {String extendsTag}) { |
| 246 _registerCustomElement(JS('', 'window'), this, tag, customElementClass, | 246 _registerCustomElement(JS('', 'window'), this, tag, customElementClass, |
| 247 nativeTagName); | 247 extendsTag); |
| 248 } | 248 } |
| 249 $else | 249 $else |
| 250 void register(String tag, Type customElementClass, {String nativeTagName}) { | 250 void register(String tag, Type customElementClass, {String extendsTag}) { |
| 251 _Utils.register(tag, customElementClass); | 251 _Utils.register(this, tag, customElementClass, extendsTag); |
| 252 } | 252 } |
| 253 $endif | 253 $endif |
| 254 | 254 |
| 255 $if DART2JS | 255 $if DART2JS |
| 256 @Creates('Null') // Set from Dart code; does not instantiate a native type. | 256 @Creates('Null') // Set from Dart code; does not instantiate a native type. |
| 257 $endif | 257 $endif |
| 258 // Note: used to polyfill <template> | 258 // Note: used to polyfill <template> |
| 259 Document _templateContentsOwner; | 259 Document _templateContentsOwner; |
| 260 | 260 |
| 261 @DomName('Document.visibilityChange') | 261 @DomName('Document.visibilityChange') |
| (...skipping 23 matching lines...) Expand all Loading... |
| 285 $endif | 285 $endif |
| 286 } | 286 } |
| 287 | 287 |
| 288 @SupportedBrowser(SupportedBrowser.CHROME) | 288 @SupportedBrowser(SupportedBrowser.CHROME) |
| 289 @SupportedBrowser(SupportedBrowser.FIREFOX) | 289 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 290 @SupportedBrowser(SupportedBrowser.IE, '10') | 290 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 291 @Experimental() | 291 @Experimental() |
| 292 Stream<Event> get onVisibilityChange => | 292 Stream<Event> get onVisibilityChange => |
| 293 visibilityChangeEvent.forTarget(this); | 293 visibilityChangeEvent.forTarget(this); |
| 294 } | 294 } |
| OLD | NEW |