Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Side by Side Diff: tools/dom/templates/html/impl/impl_Element.darttemplate

Issue 23451006: Changing onCreated callback to created. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/dom/src/dart2js_CustomElementSupport.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 part of $LIBRARYNAME; 5 part of $LIBRARYNAME;
6 6
7 class _ChildrenElementList extends ListBase<Element> { 7 class _ChildrenElementList extends ListBase<Element> {
8 // Raw Element. 8 // Raw Element.
9 final Element _element; 9 final Element _element;
10 final HtmlCollection _childElements; 10 final HtmlCollection _childElements;
(...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 */ 662 */
663 static bool isTagSupported(String tag) { 663 static bool isTagSupported(String tag) {
664 var e = _ElementFactoryProvider.createElement_tag(tag); 664 var e = _ElementFactoryProvider.createElement_tag(tag);
665 return e is Element && !(e is UnknownElement); 665 return e is Element && !(e is UnknownElement);
666 } 666 }
667 667
668 /** 668 /**
669 * Called by the DOM when this element has been instantiated. 669 * Called by the DOM when this element has been instantiated.
670 */ 670 */
671 @Experimental() 671 @Experimental()
672 void onCreated() {} 672 void created() {}
673 673
674 // Hooks to support custom WebComponents. 674 // Hooks to support custom WebComponents.
675 675
676 $if DART2JS 676 $if DART2JS
677 @Creates('Null') // Set from Dart code; does not instantiate a native type. 677 @Creates('Null') // Set from Dart code; does not instantiate a native type.
678 $endif 678 $endif
679 Element _xtag; 679 Element _xtag;
680 680
681 /** 681 /**
682 * Experimental support for [web components][wc]. This field stores a 682 * Experimental support for [web components][wc]. This field stores a
(...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after
1323 const ScrollAlignment._internal(this._value); 1323 const ScrollAlignment._internal(this._value);
1324 toString() => 'ScrollAlignment.$_value'; 1324 toString() => 'ScrollAlignment.$_value';
1325 1325
1326 /// Attempt to align the element to the top of the scrollable area. 1326 /// Attempt to align the element to the top of the scrollable area.
1327 static const TOP = const ScrollAlignment._internal('TOP'); 1327 static const TOP = const ScrollAlignment._internal('TOP');
1328 /// Attempt to center the element in the scrollable area. 1328 /// Attempt to center the element in the scrollable area.
1329 static const CENTER = const ScrollAlignment._internal('CENTER'); 1329 static const CENTER = const ScrollAlignment._internal('CENTER');
1330 /// Attempt to align the element to the bottom of the scrollable area. 1330 /// Attempt to align the element to the bottom of the scrollable area.
1331 static const BOTTOM = const ScrollAlignment._internal('BOTTOM'); 1331 static const BOTTOM = const ScrollAlignment._internal('BOTTOM');
1332 } 1332 }
OLDNEW
« no previous file with comments | « tools/dom/src/dart2js_CustomElementSupport.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698