Index: third_party/WebKit/public/platform/modules/notifications/WebNotificationDelegate.h |
diff --git a/third_party/WebKit/public/platform/modules/notifications/WebNotificationDelegate.h b/third_party/WebKit/public/platform/modules/notifications/WebNotificationDelegate.h |
index 319d0d331ce75f2fdc0d44c54adf5dbf677e8460..2ca0846da7611f2fac5b5c29cceee3bf1163307e 100644 |
--- a/third_party/WebKit/public/platform/modules/notifications/WebNotificationDelegate.h |
+++ b/third_party/WebKit/public/platform/modules/notifications/WebNotificationDelegate.h |
@@ -7,15 +7,16 @@ |
namespace blink { |
+class WebString; |
+ |
// A delegate through which the embedder can trigger events on a Document-bound |
// Web Notifications object. Service Worker-bound Web Notifications will not |
// have a delegate, as their events will be fired on a Service Worker instead. |
class WebNotificationDelegate { |
public: |
- virtual void dispatchClickEvent() = 0; |
- virtual void dispatchShowEvent() = 0; |
- virtual void dispatchErrorEvent() = 0; |
- virtual void dispatchCloseEvent() = 0; |
+ virtual void didShowNotification(const WebString& notificationId) = 0; |
+ virtual void didClickNotification() = 0; |
+ virtual void didCloseNotification() = 0; |
}; |
} // namespace blink |