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

Unified Diff: client/html/generated/html/dartium/SVGElementInstance.dart

Issue 9623017: Refactor the event-generation code to locate it in systemhtml.py. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes 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 side-by-side diff with in-line comments
Download patch
Index: client/html/generated/html/dartium/SVGElementInstance.dart
diff --git a/client/html/generated/html/dartium/SVGElementInstance.dart b/client/html/generated/html/dartium/SVGElementInstance.dart
index bf33594ea3c24e95b05f4379dde3b26c5833a916..0f2f3efd6b99e1b734b9af8f5b7d919d731b60ae 100644
--- a/client/html/generated/html/dartium/SVGElementInstance.dart
+++ b/client/html/generated/html/dartium/SVGElementInstance.dart
@@ -2,6 +2,11 @@
class _SVGElementInstanceImpl extends _EventTargetImpl implements SVGElementInstance {
_SVGElementInstanceImpl._wrap(ptr) : super._wrap(ptr);
+ _SVGElementInstanceEventsImpl get on() {
+ if (_on == null) _on = new _SVGElementInstanceEventsImpl(this);
+ return _on;
+ }
+
SVGElementInstanceList get childNodes() => _wrap(_ptr.childNodes);
SVGElement get correspondingElement() => _wrap(_ptr.correspondingElement);
@@ -18,11 +23,6 @@ class _SVGElementInstanceImpl extends _EventTargetImpl implements SVGElementInst
SVGElementInstance get previousSibling() => _wrap(_ptr.previousSibling);
- _SVGElementInstanceEventsImpl get on() {
- if (_on == null) _on = new _SVGElementInstanceEventsImpl(this);
- return _on;
- }
-
void _addEventListener(String type, EventListener listener, [bool useCapture = null]) {
if (useCapture === null) {
_ptr.addEventListener(_unwrap(type), _unwrap(listener));
« no previous file with comments | « client/html/generated/html/dartium/Notification.dart ('k') | client/html/generated/html/dartium/WebSocket.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698