summaryrefslogtreecommitdiffstats
path: root/chrome/browser/notifications/notification_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/notifications/notification_delegate.h')
-rw-r--r--chrome/browser/notifications/notification_delegate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/notifications/notification_delegate.h b/chrome/browser/notifications/notification_delegate.h
index 6814bde..53226e5 100644
--- a/chrome/browser/notifications/notification_delegate.h
+++ b/chrome/browser/notifications/notification_delegate.h
@@ -27,6 +27,9 @@ class NotificationDelegate
// user explicitly (as opposed to timeout/script), |by_user| should be true.
virtual void Close(bool by_user) = 0;
+ // To be called when a desktop notification is clicked.
+ virtual void Click() = 0;
+
// Returns unique id of the notification.
virtual std::string id() const = 0;