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

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

Issue 16308002: Fixes for Blink roll to r151189 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { 7 $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
8 factory $CLASSNAME() => _$(CLASSNAME)FactoryProvider.createDocumentFragment();
9
10 factory $CLASSNAME.html(String html) => 8 factory $CLASSNAME.html(String html) =>
11 _$(CLASSNAME)FactoryProvider.createDocumentFragment_html(html); 9 _$(CLASSNAME)FactoryProvider.createDocumentFragment_html(html);
12 10
13 factory $CLASSNAME.svg(String svgContent) => 11 factory $CLASSNAME.svg(String svgContent) =>
14 _$(CLASSNAME)FactoryProvider.createDocumentFragment_svg(svgContent); 12 _$(CLASSNAME)FactoryProvider.createDocumentFragment_svg(svgContent);
15 13
16 $if DART2JS 14 $if DART2JS
17 // Native field is used only by Dart code so does not lead to instantiation 15 // Native field is used only by Dart code so does not lead to instantiation
18 // of native classes 16 // of native classes
19 @Creates('Null') 17 @Creates('Null')
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 /** 69 /**
72 * Parses the specified text as HTML and adds the resulting node after the 70 * Parses the specified text as HTML and adds the resulting node after the
73 * last child of this document fragment. 71 * last child of this document fragment.
74 */ 72 */
75 void appendHtml(String text) { 73 void appendHtml(String text) {
76 this.append(new DocumentFragment.html(text)); 74 this.append(new DocumentFragment.html(text));
77 } 75 }
78 76
79 $!MEMBERS 77 $!MEMBERS
80 } 78 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698