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

Unified Diff: client/html/generated/html/dartium/Element.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/Element.dart
diff --git a/client/html/generated/html/dartium/Element.dart b/client/html/generated/html/dartium/Element.dart
index 18f2891ea34ecd52dff56f1a03dc9ff9219d9c2a..6df373752b5bb0e1bfb32e21a65b1af0ac5e2a20 100644
--- a/client/html/generated/html/dartium/Element.dart
+++ b/client/html/generated/html/dartium/Element.dart
@@ -539,6 +539,11 @@ class _ElementImpl extends _NodeImpl implements Element {
}
_ElementImpl._wrap(ptr) : super._wrap(ptr);
+ _ElementEventsImpl get on() {
+ if (_on == null) _on = new _ElementEventsImpl(this);
+ return _on;
+ }
+
int get _childElementCount() => _wrap(_ptr.childElementCount);
HTMLCollection get _children() => _wrap(_ptr.children);
@@ -645,11 +650,6 @@ class _ElementImpl extends _NodeImpl implements Element {
void set webkitdropzone(String value) { _ptr.webkitdropzone = _unwrap(value); }
- _ElementEventsImpl get on() {
- if (_on == null) _on = new _ElementEventsImpl(this);
- return _on;
- }
-
void blur() {
_ptr.blur();
return;
« no previous file with comments | « client/html/generated/html/dartium/DocumentFragment.dart ('k') | client/html/generated/html/dartium/EventSource.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698