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

Unified Diff: Source/web/NotificationPresenterImpl.h

Issue 184733002: Remove support for legacy WebKit Notifications (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove tests which no longer apply Created 6 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: Source/web/NotificationPresenterImpl.h
diff --git a/Source/web/NotificationPresenterImpl.h b/Source/web/NotificationPresenterImpl.h
index 085dea56cfa30f376c36e306b38a397489edea74..a4fb0454d403efc054638c14fe46fed3b7d0b267 100644
--- a/Source/web/NotificationPresenterImpl.h
+++ b/Source/web/NotificationPresenterImpl.h
@@ -49,13 +49,10 @@ public:
bool isInitialized();
// WebCore::NotificationPresenter implementation.
- virtual bool show(WebCore::NotificationBase*) OVERRIDE;
- virtual void cancel(WebCore::NotificationBase*) OVERRIDE;
- virtual void notificationObjectDestroyed(WebCore::NotificationBase*) OVERRIDE;
+ virtual bool show(WebCore::Notification*) OVERRIDE;
+ virtual void cancel(WebCore::Notification*) OVERRIDE;
+ virtual void notificationObjectDestroyed(WebCore::Notification*) OVERRIDE;
virtual WebCore::NotificationClient::Permission checkPermission(WebCore::ExecutionContext*) OVERRIDE;
-#if ENABLE(LEGACY_NOTIFICATIONS)
- virtual void requestPermission(WebCore::ExecutionContext*, WTF::PassOwnPtr<WebCore::VoidCallback>) OVERRIDE;
-#endif
virtual void requestPermission(WebCore::ExecutionContext*, WTF::PassOwnPtr<WebCore::NotificationPermissionCallback>) OVERRIDE;
private:

Powered by Google App Engine
This is Rietveld 408576698