summaryrefslogtreecommitdiffstats
path: root/chrome/browser/notifications/notification_object_proxy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/notifications/notification_object_proxy.cc')
-rw-r--r--chrome/browser/notifications/notification_object_proxy.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/browser/notifications/notification_object_proxy.cc b/chrome/browser/notifications/notification_object_proxy.cc
index 76363e5..edf35df 100644
--- a/chrome/browser/notifications/notification_object_proxy.cc
+++ b/chrome/browser/notifications/notification_object_proxy.cc
@@ -49,6 +49,15 @@ void NotificationObjectProxy::Close(bool by_user) {
}
}
+void NotificationObjectProxy::Click() {
+ if (worker_) {
+ NOTREACHED();
+ } else {
+ DeliverMessage(new ViewMsg_PostClickToNotificationObject(
+ route_id_, notification_id_));
+ }
+}
+
std::string NotificationObjectProxy::id() const {
return StringPrintf("%d:%d:%d:%d", process_id_, route_id_,
notification_id_, worker_);