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

Unified Diff: tools/dom/templates/html/impl/impl_WheelEvent.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/impl/impl_WheelEvent.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_WheelEvent.darttemplate b/tools/dom/templates/html/impl/impl_WheelEvent.darttemplate
index d660a21e2f5ac083a59791313fe4009a0fd021b6..bc664301de0ad37c17805ed3acde1b682a84654b 100644
--- a/tools/dom/templates/html/impl/impl_WheelEvent.darttemplate
+++ b/tools/dom/templates/html/impl/impl_WheelEvent.darttemplate
@@ -3,13 +3,12 @@
// BSD-style license that can be found in the LICENSE file.
part of html;
-
-/// @domName $DOMNAME
+$ANNOTATIONS
class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
$!MEMBERS
$if DART2JS
- /** @domName WheelEvent.deltaY */
+ @DomName('WheelEvent.deltaY')
num get deltaY {
if (JS('bool', '#.deltaY !== undefined', this)) {
// W3C WheelEvent
@@ -37,7 +36,7 @@ $if DART2JS
'deltaY is not supported');
}
- /** @domName WheelEvent.deltaX */
+ @DomName('WheelEvent.deltaX')
num get deltaX {
if (JS('bool', '#.deltaX !== undefined', this)) {
// W3C WheelEvent
@@ -82,11 +81,11 @@ $if DART2JS
int get _deltaMode => JS('int', '#.deltaMode', this);
$else
- /** @domName WheelEvent.deltaX */
+ @DomName('WheelEvent.deltaX')
num get deltaX => $dom_wheelDeltaX;
- /** @domName WheelEvent.deltaY */
+ @DomName('WheelEvent.deltaY')
num get deltaY => $dom_wheelDeltaY;
- /** @domName WheelEvent.deltaMode */
+ @DomName('WheelEvent.deltaMode')
int get deltaMode => 0;
$endif

Powered by Google App Engine
This is Rietveld 408576698