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

Side by Side Diff: client/html/src/DocumentWrappingImplementation.dart

Issue 9246005: Register Document events on Document, not HTMLDocument. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
« no previous file with comments | « client/html/release/htmlimpl.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « client/html/release/htmlimpl.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698