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

Unified Diff: sdk/lib/html/templates/html/impl/impl_Element.darttemplate

Issue 11415067: Add annotations on native fields and methods (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: sdk/lib/html/templates/html/impl/impl_Element.darttemplate
diff --git a/sdk/lib/html/templates/html/impl/impl_Element.darttemplate b/sdk/lib/html/templates/html/impl/impl_Element.darttemplate
index d475ddfc6e313c3ca491175cb02f49070014e9e9..bf6e19acee42691eec21d45161133b3202d1a13f 100644
--- a/sdk/lib/html/templates/html/impl/impl_Element.darttemplate
+++ b/sdk/lib/html/templates/html/impl/impl_Element.darttemplate
@@ -617,6 +617,9 @@ abstract class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
* [wc]: http://dvcs.w3.org/hg/webcomponents/raw-file/tip/explainer/index.html
* [x-tags]: http://x-tags.org/
*/
+$if DART2JS
+ @Creates('Null') // Set from Dart code; does not instantiate a native type.
ngeoffray 2012/11/20 08:50:13 Why do you need this one?
sra1 2012/11/20 09:01:42 xtag is really a Dart-only field used by the WebCo
+$endif
var xtag;
$if DARTIUM

Powered by Google App Engine
This is Rietveld 408576698