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

Side by Side Diff: client/html/generated/html/dartium/NotificationCenter.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, 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1
2 class _NotificationCenterImpl extends _DOMTypeBase implements NotificationCenter {
3 _NotificationCenterImpl._wrap(ptr) : super._wrap(ptr);
4
5 int checkPermission() {
6 return _wrap(_ptr.checkPermission());
7 }
8
9 Notification createHTMLNotification(String url) {
10 return _wrap(_ptr.createHTMLNotification(_unwrap(url)));
11 }
12
13 Notification createNotification(String iconUrl, String title, String body) {
14 return _wrap(_ptr.createNotification(_unwrap(iconUrl), _unwrap(title), _unwr ap(body)));
15 }
16
17 void requestPermission(VoidCallback callback) {
18 _ptr.requestPermission(_unwrap(callback));
19 return;
20 }
21 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698