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

Unified Diff: client/html/generated/html/dartium/Notification.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/Notification.dart
diff --git a/client/html/generated/html/dartium/Notification.dart b/client/html/generated/html/dartium/Notification.dart
index c19f8dce50427592158707a669243cf9505f594f..5839d4e3e012bbae152c6c3aacaf445a8e45be28 100644
--- a/client/html/generated/html/dartium/Notification.dart
+++ b/client/html/generated/html/dartium/Notification.dart
@@ -2,6 +2,11 @@
class _NotificationImpl extends _EventTargetImpl implements Notification {
_NotificationImpl._wrap(ptr) : super._wrap(ptr);
+ _NotificationEventsImpl get on() {
+ if (_on == null) _on = new _NotificationEventsImpl(this);
+ return _on;
+ }
+
String get dir() => _wrap(_ptr.dir);
void set dir(String value) { _ptr.dir = _unwrap(value); }
@@ -10,11 +15,6 @@ class _NotificationImpl extends _EventTargetImpl implements Notification {
void set replaceId(String value) { _ptr.replaceId = _unwrap(value); }
- _NotificationEventsImpl get on() {
- if (_on == null) _on = new _NotificationEventsImpl(this);
- return _on;
- }
-
void cancel() {
_ptr.cancel();
return;
« no previous file with comments | « client/html/generated/html/dartium/InputElement.dart ('k') | client/html/generated/html/dartium/SVGElementInstance.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698