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

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

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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/dartium/Notification.dart
diff --git a/client/html/generated/html/dartium/Notification.dart b/client/html/generated/html/dartium/Notification.dart
new file mode 100644
index 0000000000000000000000000000000000000000..c19f8dce50427592158707a669243cf9505f594f
--- /dev/null
+++ b/client/html/generated/html/dartium/Notification.dart
@@ -0,0 +1,41 @@
+
+class _NotificationImpl extends _EventTargetImpl implements Notification {
+ _NotificationImpl._wrap(ptr) : super._wrap(ptr);
+
+ String get dir() => _wrap(_ptr.dir);
+
+ void set dir(String value) { _ptr.dir = _unwrap(value); }
+
+ String get replaceId() => _wrap(_ptr.replaceId);
+
+ 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;
+ }
+
+ void show() {
+ _ptr.show();
+ return;
+ }
+}
+
+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