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

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

Issue 254463006: This CL contains all of the changes for splitting off all of the native (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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) 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 // 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 $!TOPLEVEL
10
9 @Experimental() 11 @Experimental()
10 $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { 12 $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
11 $!MEMBERS 13 $!MEMBERS
12 14
13 /** 15 /**
14 * An override to place the contents into content rather than as child nodes. 16 * An override to place the contents into content rather than as child nodes.
15 * 17 *
16 * See also: 18 * See also:
17 * 19 *
18 * * <https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.h tml#innerhtml-on-templates> 20 * * <https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.h tml#innerhtml-on-templates>
19 */ 21 */
20 void setInnerHtml(String html, 22 void setInnerHtml(String html,
21 {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) { 23 {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) {
22 text = null; 24 text = null;
23 var fragment = createFragment( 25 var fragment = createFragment(
24 html, validator: validator, treeSanitizer: treeSanitizer); 26 html, validator: validator, treeSanitizer: treeSanitizer);
25 27
26 content.append(fragment); 28 content.append(fragment);
27 } 29 }
28 } 30 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698