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

Unified Diff: Source/modules/notifications/NotificationClient.h

Issue 393863002: Switch Blink to the new Web Notifications permission path. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
« no previous file with comments | « Source/modules/notifications/Notification.cpp ('k') | Source/web/NotificationPermissionClientImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/notifications/NotificationClient.h
diff --git a/Source/modules/notifications/NotificationClient.h b/Source/modules/notifications/NotificationClient.h
index a45855921b27d419215c01caed3a84876b6f7e92..988faf520a56f7bcc2a1d5f13b878b46db41d0c7 100644
--- a/Source/modules/notifications/NotificationClient.h
+++ b/Source/modules/notifications/NotificationClient.h
@@ -63,11 +63,6 @@ public:
// the notification, but must not attempt to call the event handlers.
virtual void notificationObjectDestroyed(Notification*) = 0;
- // Requests user permission to show desktop notifications from a particular
- // script context. The callback parameter should be run when the user has
- // made a decision.
- virtual void requestPermission(ExecutionContext*, PassOwnPtr<NotificationPermissionCallback>) = 0;
-
// Checks the current level of permission.
virtual Permission checkPermission(ExecutionContext*) = 0;
};
« no previous file with comments | « Source/modules/notifications/Notification.cpp ('k') | Source/web/NotificationPermissionClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698