summaryrefslogtreecommitdiff
path: root/Source/WebKit2/WebProcess/WebCoreSupport/WebNotificationClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/WebProcess/WebCoreSupport/WebNotificationClient.h')
-rw-r--r--Source/WebKit2/WebProcess/WebCoreSupport/WebNotificationClient.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/Source/WebKit2/WebProcess/WebCoreSupport/WebNotificationClient.h b/Source/WebKit2/WebProcess/WebCoreSupport/WebNotificationClient.h
index dbd807551..9bc80d1ee 100644
--- a/Source/WebKit2/WebProcess/WebCoreSupport/WebNotificationClient.h
+++ b/Source/WebKit2/WebProcess/WebCoreSupport/WebNotificationClient.h
@@ -46,19 +46,20 @@ public:
virtual ~WebNotificationClient();
private:
- virtual bool show(WebCore::Notification*) override;
- virtual void cancel(WebCore::Notification*) override;
- virtual void clearNotifications(WebCore::ScriptExecutionContext*) override;
- virtual void notificationObjectDestroyed(WebCore::Notification*) override;
- virtual void notificationControllerDestroyed() override;
+ bool show(WebCore::Notification*) override;
+ void cancel(WebCore::Notification*) override;
+ void clearNotifications(WebCore::ScriptExecutionContext*) override;
+ void notificationObjectDestroyed(WebCore::Notification*) override;
+ void notificationControllerDestroyed() override;
#if ENABLE(LEGACY_NOTIFICATIONS)
- virtual void requestPermission(WebCore::ScriptExecutionContext*, PassRefPtr<WebCore::VoidCallback>) override;
+ void requestPermission(WebCore::ScriptExecutionContext*, RefPtr<WebCore::VoidCallback>&&) override;
#endif
#if ENABLE(NOTIFICATIONS)
- virtual void requestPermission(WebCore::ScriptExecutionContext*, PassRefPtr<WebCore::NotificationPermissionCallback>) override;
+ void requestPermission(WebCore::ScriptExecutionContext*, RefPtr<WebCore::NotificationPermissionCallback>&&) override;
#endif
- virtual void cancelRequestsForPermission(WebCore::ScriptExecutionContext*) override;
- virtual NotificationClient::Permission checkPermission(WebCore::ScriptExecutionContext*) override;
+ void cancelRequestsForPermission(WebCore::ScriptExecutionContext*) override;
+ bool hasPendingPermissionRequests(WebCore::ScriptExecutionContext*) const override;
+ NotificationClient::Permission checkPermission(WebCore::ScriptExecutionContext*) override;
WebPage* m_page;
};