Index: Source/web/NotificationPresenterImpl.h |
diff --git a/Source/web/NotificationPresenterImpl.h b/Source/web/NotificationPresenterImpl.h |
index a4fb0454d403efc054638c14fe46fed3b7d0b267..085dea56cfa30f376c36e306b38a397489edea74 100644 |
--- a/Source/web/NotificationPresenterImpl.h |
+++ b/Source/web/NotificationPresenterImpl.h |
@@ -49,10 +49,13 @@ |
bool isInitialized(); |
// WebCore::NotificationPresenter implementation. |
- virtual bool show(WebCore::Notification*) OVERRIDE; |
- virtual void cancel(WebCore::Notification*) OVERRIDE; |
- virtual void notificationObjectDestroyed(WebCore::Notification*) OVERRIDE; |
+ virtual bool show(WebCore::NotificationBase*) OVERRIDE; |
+ virtual void cancel(WebCore::NotificationBase*) OVERRIDE; |
+ virtual void notificationObjectDestroyed(WebCore::NotificationBase*) 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: |