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

Unified Diff: client/html/generated/html/frog/Notification.dart

Issue 9403004: Wrapperless dart:html generator (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review fixes Created 8 years, 10 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/frog/Notification.dart
diff --git a/client/html/generated/html/frog/Notification.dart b/client/html/generated/html/frog/Notification.dart
new file mode 100644
index 0000000000000000000000000000000000000000..a21649df4b44e215328e07251cd2bcc54079d61c
--- /dev/null
+++ b/client/html/generated/html/frog/Notification.dart
@@ -0,0 +1,34 @@
+
+class _NotificationJs implements Notification native "*Notification" {
+
+ String dir;
+
+ String replaceId;
+
+ _NotificationEventsImpl get on() =>
+ new _NotificationEventsImpl(this);
+
+ void _addEventListener(String type, EventListener listener, [bool useCapture = null]) native "this.addEventListener(type, listener, useCapture);";
+
+ void cancel() native;
+
+ bool _dispatchEvent(_EventJs evt) native "return this.dispatchEvent(evt);";
+
+ void _removeEventListener(String type, EventListener listener, [bool useCapture = null]) native "this.removeEventListener(type, listener, useCapture);";
+
+ void show() native;
+}
+
+class _NotificationEventsImpl extends _EventsImpl implements NotificationEvents {
+ _NotificationEventsImpl(_ptr) : super(_ptr);
+
+ EventListenerList get click() => _get('click');
+
+ EventListenerList get close() => _get('close');
+
+ EventListenerList get display() => _get('display');
+
+ EventListenerList get error() => _get('error');
+
+ EventListenerList get show() => _get('show');
+}

Powered by Google App Engine
This is Rietveld 408576698