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

Unified Diff: content/renderer/notification_provider.h

Issue 433433002: Remove code for the old Web Notification permission-path. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | « content/renderer/active_notification_tracker.cc ('k') | content/renderer/notification_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/notification_provider.h
diff --git a/content/renderer/notification_provider.h b/content/renderer/notification_provider.h
index 5162c14426e1b29f10830f275e3fb3f69168827c..ab49b073cfbf5ab4a6bb57d19d31bf0942fd7065 100644
--- a/content/renderer/notification_provider.h
+++ b/content/renderer/notification_provider.h
@@ -10,10 +10,6 @@
#include "third_party/WebKit/public/web/WebNotification.h"
#include "third_party/WebKit/public/web/WebNotificationPresenter.h"
-namespace blink {
-class WebNotificationPermissionCallback;
-}
-
namespace content {
// NotificationProvider class is owned by the RenderFrame. Only to be used on
@@ -34,15 +30,12 @@ class NotificationProvider : public RenderFrameObserver,
virtual void objectDestroyed(const blink::WebNotification& proxy);
virtual blink::WebNotificationPresenter::Permission checkPermission(
const blink::WebSecurityOrigin& origin);
- virtual void requestPermission(const blink::WebSecurityOrigin& origin,
- blink::WebNotificationPermissionCallback* callback);
// IPC handlers.
void OnDisplay(int id);
void OnError(int id);
void OnClose(int id, bool by_user);
void OnClick(int id);
- void OnPermissionRequestComplete(int id);
void OnNavigate();
// A tracker object which manages the active notifications and the IDs
« no previous file with comments | « content/renderer/active_notification_tracker.cc ('k') | content/renderer/notification_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698