import"IWebDesktopNotificationsDelegate.idl";
◆ cancelDesktopNotification()
cancelDesktopNotification: Cancel showing a notification (or take it down if it's shown).
- Parameters
-
◆ checkNotificationPermission()
HRESULT IWebDesktopNotificationsDelegate::checkNotificationPermission |
( |
[in] BSTR |
origin, |
|
|
[out, retval] int * |
result |
|
) |
| |
checkNotificationPermission: See if the origin context is allowed to show notifications.
- Parameters
-
origin | The origin to be checked. |
result | A value from WebCore::NotificationProvider::Permission enum. |
◆ notificationDestroyed()
notificationDestroyed: Notify the presenter that the object has been destroyed. The notification need not be un-shown, but events should not be invoked.
- Parameters
-
◆ requestNotificationPermission()
HRESULT IWebDesktopNotificationsDelegate::requestNotificationPermission |
( |
[in] BSTR |
origin | ) |
|
requestNotificationPermission: Request permission to show notifications on a given origin.
- Parameters
-
origin | The origin to be requested. |
◆ showDesktopNotification()
showDesktopNotification: Show a notification.
- Parameters
-
The documentation for this interface was generated from the following file: