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

Unified Diff: tools/dom/templates/html/dart2js/impl_Window.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: Single quotes! 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 side-by-side diff with in-line comments
Download patch
Index: tools/dom/templates/html/dart2js/impl_Window.darttemplate
diff --git a/tools/dom/templates/html/dart2js/impl_Window.darttemplate b/tools/dom/templates/html/dart2js/impl_Window.darttemplate
index 93f988485ffab5e17a94a63ea9d88bfa097d4038..b46c2a1a20b784d70a7fe251f2c5fd5053a80c30 100644
--- a/tools/dom/templates/html/dart2js/impl_Window.darttemplate
+++ b/tools/dom/templates/html/dart2js/impl_Window.darttemplate
@@ -4,7 +4,7 @@
part of html;
-/// @domName $DOMNAME
+@DomName('$DOMNAME')
class $CLASSNAME$EXTENDS$IMPLEMENTS native "@*DOMWindow" {
Document get document => JS('Document', '#.document', this);
@@ -80,7 +80,7 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS native "@*DOMWindow" {
_addMeasurementFrameCallback(callback);
}
- /** @domName DOMWindow.requestAnimationFrame */
+ @DomName('DOMWindow.requestAnimationFrame')
int requestAnimationFrame(RequestAnimationFrameCallback callback) {
_ensureRequestAnimationFrame();
return _requestAnimationFrame(callback);
@@ -157,7 +157,8 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS native "@*DOMWindow" {
document.documentElement.attributes['dart-port:$name'] = json.stringify(serialized);
}
- /// @domName Window.console; @docsEditable true
+ /// @docsEditable true
+ @DomName('Window.console')
Console get console => Console.safeConsole;
$!MEMBERS

Powered by Google App Engine
This is Rietveld 408576698