webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Instance Methods | Class Methods | Protected Attributes | List of all members
MockWebNotificationProvider Class Reference

#import <MockWebNotificationProvider.h>

Inheritance diagram for MockWebNotificationProvider:
NSObject <WebNotificationProvider>

Instance Methods

(void- simulateWebNotificationClick:
 
(void- setWebNotificationOrigin:permission:
 
(WebNotificationPermission- policyForOrigin:
 
(void- removeAllWebNotificationPermissions
 
(void- reset
 
- Instance Methods inherited from <WebNotificationProvider>
(void- registerWebView:
 
(void- unregisterWebView:
 
(void- showNotification:fromWebView:
 
(void- cancelNotification:
 
(void- notificationDestroyed:
 
(void- clearNotifications:
 
(void- webView:didShowNotification:
 
(void- webView:didClickNotification:
 
(void- webView:didCloseNotifications:
 

Class Methods

(MockWebNotificationProvider *) + shared
 

Protected Attributes

HashSet< WebView * > _registeredWebViews
 
NotificationIDMap _notifications
 
NotificationViewMap _notificationViewMap
 
RetainPtr< NSMutableDictionary > _permissions
 

Method Documentation

◆ policyForOrigin:()

- (WebNotificationPermission) policyForOrigin: (WebSecurityOrigin *)  origin

Reimplemented from <WebNotificationProvider>.

◆ removeAllWebNotificationPermissions()

- (void) removeAllWebNotificationPermissions

◆ reset()

- (void) reset

◆ setWebNotificationOrigin:permission:()

- (void) setWebNotificationOrigin: (NSString *)  origin
permission: (BOOL allowed 

◆ shared()

◆ simulateWebNotificationClick:()

- (void) simulateWebNotificationClick: (uint64_t notificationID

Member Data Documentation

◆ _notifications

- (NotificationIDMap) _notifications
protected

◆ _notificationViewMap

- (NotificationViewMap) _notificationViewMap
protected

◆ _permissions

- (RetainPtr<NSMutableDictionary>) _permissions
protected

◆ _registeredWebViews

- (HashSet<WebView *>) _registeredWebViews
protected

The documentation for this class was generated from the following files: