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

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: 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 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..9e8674ba11721ac054a4dcc74b5c6ffce42f59e6 100644
--- a/tools/dom/templates/html/dart2js/impl_Window.darttemplate
+++ b/tools/dom/templates/html/dart2js/impl_Window.darttemplate
@@ -3,8 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
part of html;
-
-/// @domName $DOMNAME
+$ANNOTATIONS
class $CLASSNAME$EXTENDS$IMPLEMENTS native "@*DOMWindow" {
Document get document => JS('Document', '#.document', this);
@@ -80,7 +79,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 +156,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