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

Side by Side Diff: tools/dom/templates/html/impl/impl_Document.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) 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 part of html; 5 part of html;
6 6 $ANNOTATIONS
7 /// @domName $DOMNAME
8 /** 7 /**
9 * The base class for all documents. 8 * The base class for all documents.
10 * 9 *
11 * Each web page loaded in the browser has its own [Document] object, which is 10 * Each web page loaded in the browser has its own [Document] object, which is
12 * typically an [HtmlDocument]. 11 * typically an [HtmlDocument].
13 * 12 *
14 * If you aren't comfortable with DOM concepts, see the Dart tutorial 13 * If you aren't comfortable with DOM concepts, see the Dart tutorial
15 * [Target 2: Connect Dart & HTML](http://www.dartlang.org/docs/tutorials/connec t-dart-html/). 14 * [Target 2: Connect Dart & HTML](http://www.dartlang.org/docs/tutorials/connec t-dart-html/).
16 */ 15 */
17 class $CLASSNAME extends Node $NATIVESPEC 16 class $CLASSNAME extends Node $NATIVESPEC
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 final copyOfMatches = new List<Element>.fixedLength(len); 72 final copyOfMatches = new List<Element>.fixedLength(len);
74 for (int i = 0; i < len; ++i) { 73 for (int i = 0; i < len; ++i) {
75 copyOfMatches[i] = mutableMatches[i]; 74 copyOfMatches[i] = mutableMatches[i];
76 } 75 }
77 return new _FrozenElementList._wrap(copyOfMatches); 76 return new _FrozenElementList._wrap(copyOfMatches);
78 } else { 77 } else {
79 return new _FrozenElementList._wrap($dom_querySelectorAll(selectors)); 78 return new _FrozenElementList._wrap($dom_querySelectorAll(selectors));
80 } 79 }
81 } 80 }
82 } 81 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698