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

Unified Diff: client/dom/generated/src/frog/NotificationCenter.dart

Issue 9233028: Frog dart:dom using interfaces and native implementation classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 8 years, 11 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/dom/generated/src/frog/NotificationCenter.dart
diff --git a/client/dom/generated/src/frog/NotificationCenter.dart b/client/dom/generated/src/frog/NotificationCenter.dart
index b4f0d96a792c5371f107a572f389ed8524f42e73..11b857fca2d19861d5b7ed4b44cec53c1a238686 100644
--- a/client/dom/generated/src/frog/NotificationCenter.dart
+++ b/client/dom/generated/src/frog/NotificationCenter.dart
@@ -1,11 +1,11 @@
-class NotificationCenter native "*NotificationCenter" {
+class NotificationCenterJS implements NotificationCenter native "*NotificationCenter" {
int checkPermission() native;
- Notification createHTMLNotification(String url) native;
+ NotificationJS createHTMLNotification(String url) native;
- Notification createNotification(String iconUrl, String title, String body) native;
+ NotificationJS createNotification(String iconUrl, String title, String body) native;
void requestPermission(VoidCallback callback) native;
« no previous file with comments | « client/dom/generated/src/frog/Notification.dart ('k') | client/dom/generated/src/frog/OESStandardDerivatives.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698