OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 class DocumentEventsImplementation extends ElementEventsImplementation | 5 class DocumentEventsImplementation extends ElementEventsImplementation |
6 implements DocumentEvents { | 6 implements DocumentEvents { |
7 | 7 |
8 DocumentEventsImplementation._wrap(_ptr) : super._wrap(_ptr); | 8 DocumentEventsImplementation._wrap(_ptr) : super._wrap(_ptr); |
9 | 9 |
10 EventListenerList get readyStateChange() => _get('readystatechange'); | 10 EventListenerList get readyStateChange() => _get('readystatechange'); |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 } | 137 } |
138 | 138 |
139 /** @domName HTMLHtmlElement.manifest */ | 139 /** @domName HTMLHtmlElement.manifest */ |
140 String get manifest() => _ptr.manifest; | 140 String get manifest() => _ptr.manifest; |
141 | 141 |
142 /** @domName HTMLHtmlElement.manifest */ | 142 /** @domName HTMLHtmlElement.manifest */ |
143 void set manifest(String value) { _ptr.manifest = value; } | 143 void set manifest(String value) { _ptr.manifest = value; } |
144 | 144 |
145 DocumentEvents get on() { | 145 DocumentEvents get on() { |
146 if (_on === null) { | 146 if (_on === null) { |
147 _on = new DocumentEventsImplementation._wrap(_ptr); | 147 _on = new DocumentEventsImplementation._wrap(_documentPtr); |
148 } | 148 } |
149 return _on; | 149 return _on; |
150 } | 150 } |
151 } | 151 } |
OLD | NEW |