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

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

Issue 18054021: Fixing up DOM constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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
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 // 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 9
10 /** 10 /**
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 * the [template] contents. When the template wants to create an instance, 93 * the [template] contents. When the template wants to create an instance,
94 * it will call this method with the template element. 94 * it will call this method with the template element.
95 * 95 *
96 * By default this will call `template.createInstance()`. 96 * By default this will call `template.createInstance()`.
97 */ 97 */
98 getInstanceFragment(Element template) => template.createInstance(); 98 getInstanceFragment(Element template) => template.createInstance();
99 } 99 }
100 100
101 101
102 @Experimental 102 @Experimental
103 $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { 103 $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
104 $!MEMBERS 104 $!MEMBERS
105 105
106 // For real TemplateElement use the actual DOM .content field instead of 106 // For real TemplateElement use the actual DOM .content field instead of
107 // our polyfilled expando. 107 // our polyfilled expando.
108 @Experimental 108 @Experimental
109 DocumentFragment get content => $dom_content; 109 DocumentFragment get content => $dom_content;
110 110
111 111
112 /** 112 /**
113 * The MDV package, if available. 113 * The MDV package, if available.
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 document.head.append(style); 301 document.head.append(style);
302 } 302 }
303 303
304 /** 304 /**
305 * A mapping of names to Custom Syntax objects. See [CustomBindingSyntax] for 305 * A mapping of names to Custom Syntax objects. See [CustomBindingSyntax] for
306 * more information. 306 * more information.
307 */ 307 */
308 @Experimental 308 @Experimental
309 static Map<String, CustomBindingSyntax> syntax = {}; 309 static Map<String, CustomBindingSyntax> syntax = {};
310 } 310 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698