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

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

Issue 254463006: This CL contains all of the changes for splitting off all of the native (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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 6
7 $!TOPLEVEL
8
7 /** 9 /**
8 * Base class that supports listening for and dispatching browser events. 10 * Base class that supports listening for and dispatching browser events.
9 * 11 *
10 * Normally events are accessed via the Stream getter: 12 * Normally events are accessed via the Stream getter:
11 * 13 *
12 * element.onMouseOver.listen((e) => print('Mouse over!')); 14 * element.onMouseOver.listen((e) => print('Mouse over!'));
13 * 15 *
14 * To access bubbling events which are declared on one element, but may bubble 16 * To access bubbling events which are declared on one element, but may bubble
15 * up to another element type (common for MediaElement events): 17 * up to another element type (common for MediaElement events):
16 * 18 *
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // Custom element created callback. 97 // Custom element created callback.
96 EventTarget._created(); 98 EventTarget._created();
97 99
98 /** 100 /**
99 * This is an ease-of-use accessor for event streams which should only be 101 * This is an ease-of-use accessor for event streams which should only be
100 * used when an explicit accessor is not available. 102 * used when an explicit accessor is not available.
101 */ 103 */
102 Events get on => new Events(this); 104 Events get on => new Events(this);
103 $!MEMBERS 105 $!MEMBERS
104 } 106 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698