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

Unified Diff: client/html/generated/html/dartium/Document.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/Document.dart
diff --git a/client/html/generated/html/dartium/Document.dart b/client/html/generated/html/dartium/Document.dart
index 211696b88eea121d88dde6e1171590d02c7f90f2..443c16d108d26b4160e304cf495582c1bf7cdabf 100644
--- a/client/html/generated/html/dartium/Document.dart
+++ b/client/html/generated/html/dartium/Document.dart
@@ -5,6 +5,11 @@
class _DocumentImpl extends _ElementImpl
implements Document {
+ _DocumentEventsImpl get on() {
+ if (_on == null) _on = new _DocumentEventsImpl(_wrappedDocumentPtr);
+ return _on;
+ }
+
Element get activeElement() => _wrap(_documentPtr.activeElement);
Element get body() => _wrap(_documentPtr.body);
@@ -53,11 +58,6 @@ class _DocumentImpl extends _ElementImpl
String get webkitVisibilityState() => _wrap(_documentPtr.webkitVisibilityState);
- _DocumentEventsImpl get on() {
- if (_on == null) _on = new _DocumentEventsImpl(_wrappedDocumentPtr);
- return _on;
- }
-
Range caretRangeFromPoint(int x, int y) {
return _wrap(_documentPtr.caretRangeFromPoint(_unwrap(x), _unwrap(y)));
}
« no previous file with comments | « client/html/generated/html/dartium/DOMApplicationCache.dart ('k') | client/html/generated/html/dartium/DocumentFragment.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698