diff options
Diffstat (limited to 'Source/WebKit2/WebProcess/Notifications/WebNotificationManager.h')
-rw-r--r-- | Source/WebKit2/WebProcess/Notifications/WebNotificationManager.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/WebKit2/WebProcess/Notifications/WebNotificationManager.h b/Source/WebKit2/WebProcess/Notifications/WebNotificationManager.h index 61507394c..dc550e231 100644 --- a/Source/WebKit2/WebProcess/Notifications/WebNotificationManager.h +++ b/Source/WebKit2/WebProcess/Notifications/WebNotificationManager.h @@ -59,6 +59,7 @@ public: bool show(WebCore::Notification*, WebPage*); void cancel(WebCore::Notification*, WebPage*); + void clearNotifications(WebCore::ScriptExecutionContext*, WebPage*); // This callback comes from WebCore, not messaged from the UI process. void didDestroyNotification(WebCore::Notification*, WebPage*); @@ -86,6 +87,9 @@ private: typedef HashMap<uint64_t, RefPtr<WebCore::Notification> > NotificationIDMap; NotificationIDMap m_notificationIDMap; + typedef HashMap<RefPtr<WebCore::ScriptExecutionContext>, Vector<uint64_t> > NotificationContextMap; + NotificationContextMap m_notificationContextMap; + HashMap<String, bool> m_permissionsMap; #endif }; |