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

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

Issue 8424012: Add optional arguments to our indexOf/lastIndexOf methods. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 1 month 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) 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');
11 11
12 EventListenerList get selectionChange() => _get('selectionchange'); 12 EventListenerList get selectionChange() => _get('selectionchange');
13 13
14 EventListenerList get contentLoaded() => _get('DOMContentLoaded'); 14 EventListenerList get contentLoaded() => _get('DOMContentLoaded');
15 } 15 }
16 16
17 class DocumentWrappingImplementation extends ElementWrappingImplementation imple ments Document { 17 class DocumentWrappingImplementation extends ElementWrappingImplementation imple ments Document {
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 115
116 void set manifest(String value) { _ptr.manifest = value; } 116 void set manifest(String value) { _ptr.manifest = value; }
117 117
118 DocumentEvents get on() { 118 DocumentEvents get on() {
119 if (_on === null) { 119 if (_on === null) {
120 _on = new DocumentEventsImplementation._wrap(_ptr); 120 _on = new DocumentEventsImplementation._wrap(_ptr);
121 } 121 }
122 return _on; 122 return _on;
123 } 123 }
124 } 124 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698