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

Side by Side Diff: tools/dom/templates/html/impl/impl_HTMLInputElement.darttemplate

Issue 11970019: Change /// @docsEditable to @DocsEditable annotation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Removed dead methods. 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of $LIBRARYNAME; 5 part of $LIBRARYNAME;
6 $ANNOTATIONS 6 $ANNOTATIONS
7 class $CLASSNAME$EXTENDS implements 7 class $CLASSNAME$EXTENDS implements
8 HiddenInputElement, 8 HiddenInputElement,
9 SearchInputElement, 9 SearchInputElement,
10 TextInputElement, 10 TextInputElement,
(...skipping 11 matching lines...) Expand all
22 RangeInputElement, 22 RangeInputElement,
23 CheckboxInputElement, 23 CheckboxInputElement,
24 RadioButtonInputElement, 24 RadioButtonInputElement,
25 FileUploadInputElement, 25 FileUploadInputElement,
26 SubmitButtonInputElement, 26 SubmitButtonInputElement,
27 ImageButtonInputElement, 27 ImageButtonInputElement,
28 ResetButtonInputElement, 28 ResetButtonInputElement,
29 ButtonInputElement 29 ButtonInputElement
30 $NATIVESPEC { 30 $NATIVESPEC {
31 31
32 /// @docsEditable true 32 @DocsEditable
blois 2013/01/16 21:07:40 Should not have docseditable
Andrei Mouravski 2013/01/16 21:11:18 Done.
33 factory InputElement({String type}) { 33 factory InputElement({String type}) {
34 var e = document.$dom_createElement("input"); 34 var e = document.$dom_createElement("input");
35 if (type != null) { 35 if (type != null) {
36 try { 36 try {
37 // IE throws an exception for unknown types. 37 // IE throws an exception for unknown types.
38 e.type = type; 38 e.type = type;
39 } catch(_) {} 39 } catch(_) {}
40 } 40 }
41 return e; 41 return e;
42 } 42 }
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
617 factory ResetButtonInputElement() => new InputElement(type: 'reset'); 617 factory ResetButtonInputElement() => new InputElement(type: 'reset');
618 } 618 }
619 619
620 /** 620 /**
621 * A button, with no default behavior. 621 * A button, with no default behavior.
622 */ 622 */
623 abstract class ButtonInputElement implements InputElementBase { 623 abstract class ButtonInputElement implements InputElementBase {
624 factory ButtonInputElement() => new InputElement(type: 'button'); 624 factory ButtonInputElement() => new InputElement(type: 'button');
625 } 625 }
626 626
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698