| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 part of dart.dom.html; | 5 part of dart.dom.html; |
| 6 | 6 |
| 7 _callCreated(receiver) { | 7 _callCreated(receiver) { |
| 8 return receiver.created(); | 8 return receiver.createdCallback(); |
| 9 } | 9 } |
| 10 | 10 |
| 11 _callEnteredView(receiver) { | 11 _callEnteredView(receiver) { |
| 12 return receiver.enteredView(); | 12 return receiver.enteredView(); |
| 13 } | 13 } |
| 14 | 14 |
| 15 _callLeftView(receiver) { | 15 _callLeftView(receiver) { |
| 16 return receiver.leftView(); | 16 return receiver.leftView(); |
| 17 } | 17 } |
| 18 | 18 |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 if (baseClassName != 'HTMLElement') { | 110 if (baseClassName != 'HTMLElement') { |
| 111 if (extendsTagName != null) { | 111 if (extendsTagName != null) { |
| 112 JS('=Object', '#.extends = #', options, extendsTagName); | 112 JS('=Object', '#.extends = #', options, extendsTagName); |
| 113 } else if (_typeNameToTag.containsKey(baseClassName)) { | 113 } else if (_typeNameToTag.containsKey(baseClassName)) { |
| 114 JS('=Object', '#.extends = #', options, _typeNameToTag[baseClassName]); | 114 JS('=Object', '#.extends = #', options, _typeNameToTag[baseClassName]); |
| 115 } | 115 } |
| 116 } | 116 } |
| 117 | 117 |
| 118 JS('void', '#.register(#, #)', document, tag, options); | 118 JS('void', '#.register(#, #)', document, tag, options); |
| 119 } | 119 } |
| 120 |
| 121 //// Called by Element.created to do validation & initialization. |
| 122 void _initializeCustomElement(Element e) { |
| 123 // TODO(blois): Add validation that this is only in response to an upgrade. |
| 124 } |
| OLD | NEW |