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

Side by Side Diff: client/html/generated/html/dartium/TextAreaElement.dart

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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
(Empty)
1
2 class _TextAreaElementImpl extends _ElementImpl implements TextAreaElement {
3 _TextAreaElementImpl._wrap(ptr) : super._wrap(ptr);
4
5 bool get autofocus() => _wrap(_ptr.autofocus);
6
7 void set autofocus(bool value) { _ptr.autofocus = _unwrap(value); }
8
9 int get cols() => _wrap(_ptr.cols);
10
11 void set cols(int value) { _ptr.cols = _unwrap(value); }
12
13 String get defaultValue() => _wrap(_ptr.defaultValue);
14
15 void set defaultValue(String value) { _ptr.defaultValue = _unwrap(value); }
16
17 bool get disabled() => _wrap(_ptr.disabled);
18
19 void set disabled(bool value) { _ptr.disabled = _unwrap(value); }
20
21 FormElement get form() => _wrap(_ptr.form);
22
23 NodeList get labels() => _wrap(_ptr.labels);
24
25 int get maxLength() => _wrap(_ptr.maxLength);
26
27 void set maxLength(int value) { _ptr.maxLength = _unwrap(value); }
28
29 String get name() => _wrap(_ptr.name);
30
31 void set name(String value) { _ptr.name = _unwrap(value); }
32
33 String get placeholder() => _wrap(_ptr.placeholder);
34
35 void set placeholder(String value) { _ptr.placeholder = _unwrap(value); }
36
37 bool get readOnly() => _wrap(_ptr.readOnly);
38
39 void set readOnly(bool value) { _ptr.readOnly = _unwrap(value); }
40
41 bool get required() => _wrap(_ptr.required);
42
43 void set required(bool value) { _ptr.required = _unwrap(value); }
44
45 int get rows() => _wrap(_ptr.rows);
46
47 void set rows(int value) { _ptr.rows = _unwrap(value); }
48
49 String get selectionDirection() => _wrap(_ptr.selectionDirection);
50
51 void set selectionDirection(String value) { _ptr.selectionDirection = _unwrap( value); }
52
53 int get selectionEnd() => _wrap(_ptr.selectionEnd);
54
55 void set selectionEnd(int value) { _ptr.selectionEnd = _unwrap(value); }
56
57 int get selectionStart() => _wrap(_ptr.selectionStart);
58
59 void set selectionStart(int value) { _ptr.selectionStart = _unwrap(value); }
60
61 int get textLength() => _wrap(_ptr.textLength);
62
63 String get type() => _wrap(_ptr.type);
64
65 String get validationMessage() => _wrap(_ptr.validationMessage);
66
67 ValidityState get validity() => _wrap(_ptr.validity);
68
69 String get value() => _wrap(_ptr.value);
70
71 void set value(String value) { _ptr.value = _unwrap(value); }
72
73 bool get willValidate() => _wrap(_ptr.willValidate);
74
75 String get wrap() => _wrap(_ptr.wrap);
76
77 void set wrap(String value) { _ptr.wrap = _unwrap(value); }
78
79 bool checkValidity() {
80 return _wrap(_ptr.checkValidity());
81 }
82
83 void select() {
84 _ptr.select();
85 return;
86 }
87
88 void setCustomValidity(String error) {
89 _ptr.setCustomValidity(_unwrap(error));
90 return;
91 }
92
93 void setSelectionRange(int start, int end, [String direction = null]) {
94 if (direction === null) {
95 _ptr.setSelectionRange(_unwrap(start), _unwrap(end));
96 return;
97 } else {
98 _ptr.setSelectionRange(_unwrap(start), _unwrap(end), _unwrap(direction));
99 return;
100 }
101 }
102 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698