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

Unified Diff: tools/dom/templates/html/dartium/impl_KeyboardEvent.darttemplate

Issue 11968047: Fixing formatting of dart:html's dart2js annotations. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: CR feedback. 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/dartium/impl_KeyboardEvent.darttemplate
diff --git a/tools/dom/templates/html/dartium/impl_KeyboardEvent.darttemplate b/tools/dom/templates/html/dartium/impl_KeyboardEvent.darttemplate
index d438f09aa3ca81730b8391c5f7f82cd5dda0c1c0..ff542eb7078326cfaaf971162c07e24c26502d10 100644
--- a/tools/dom/templates/html/dartium/impl_KeyboardEvent.darttemplate
+++ b/tools/dom/templates/html/dartium/impl_KeyboardEvent.darttemplate
@@ -1,13 +1,13 @@
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+part of $LIBRARYNAME;
-@DomName('KeyboardEvent')
-class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
+$(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
factory $CLASSNAME(String type, Window view,
- [bool canBubble = true, bool cancelable = true,
+ [bool canBubble = true, bool cancelable = true,
String keyIdentifier = "", int keyLocation = 1, bool ctrlKey = false,
bool altKey = false, bool shiftKey = false, bool metaKey = false,
bool altGraphKey = false]) {
@@ -19,7 +19,7 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
@DomName('KeyboardEvent.keyCode')
int get keyCode => $dom_keyCode;
-
+
@DomName('KeyboardEvent.charCode')
int get charCode => $dom_charCode;
$!MEMBERS

Powered by Google App Engine
This is Rietveld 408576698