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

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

Issue 11887006: Changed @domName annotation in comment to full fledge @DomName annotation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes. Created 7 years, 11 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 html; 5 part of html;
6 6
7 Future<CssStyleDeclaration> _emptyStyleFuture() { 7 Future<CssStyleDeclaration> _emptyStyleFuture() {
8 return _createMeasurementFuture(() => new Element.tag('div').style, 8 return _createMeasurementFuture(() => new Element.tag('div').style,
9 new Completer<CssStyleDeclaration>()); 9 new Completer<CssStyleDeclaration>());
10 } 10 }
11 11
12 class _FrozenCssClassSet extends CssClassSet { 12 class _FrozenCssClassSet extends CssClassSet {
13 void writeClasses(Set s) { 13 void writeClasses(Set s) {
14 throw new UnsupportedError( 14 throw new UnsupportedError(
15 'frozen class set cannot be modified'); 15 'frozen class set cannot be modified');
16 } 16 }
17 Set<String> readClasses() => new Set<String>(); 17 Set<String> readClasses() => new Set<String>();
18 18
19 bool get frozen => true; 19 bool get frozen => true;
20 } 20 }
21 21 $ANNOTATIONS
22 /// @domName $DOMNAME
23 class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { 22 class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
24 factory $CLASSNAME() => _$(CLASSNAME)FactoryProvider.createDocumentFragment(); 23 factory $CLASSNAME() => _$(CLASSNAME)FactoryProvider.createDocumentFragment();
25 24
26 factory $CLASSNAME.html(String html) => 25 factory $CLASSNAME.html(String html) =>
27 _$(CLASSNAME)FactoryProvider.createDocumentFragment_html(html); 26 _$(CLASSNAME)FactoryProvider.createDocumentFragment_html(html);
28 27
29 factory $CLASSNAME.svg(String svgContent) => 28 factory $CLASSNAME.svg(String svgContent) =>
30 _$(CLASSNAME)FactoryProvider.createDocumentFragment_svg(svgContent); 29 _$(CLASSNAME)FactoryProvider.createDocumentFragment_svg(svgContent);
31 30
32 @deprecated 31 @deprecated
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 "WebKit drop zone can't be set for document fragments."); 262 "WebKit drop zone can't be set for document fragments.");
264 } 263 }
265 264
266 void set webkitRegionOverflow(String value) { 265 void set webkitRegionOverflow(String value) {
267 throw new UnsupportedError( 266 throw new UnsupportedError(
268 "WebKit region overflow can't be set for document fragments."); 267 "WebKit region overflow can't be set for document fragments.");
269 } 268 }
270 269
271 $!MEMBERS 270 $!MEMBERS
272 } 271 }
OLDNEW
« no previous file with comments | « tools/dom/templates/html/impl/impl_Document.darttemplate ('k') | tools/dom/templates/html/impl/impl_Element.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698