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

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

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

Powered by Google App Engine
This is Rietveld 408576698