Index: ash/system/web_notification/web_notification_tray.cc |
diff --git a/ash/system/web_notification/web_notification_tray.cc b/ash/system/web_notification/web_notification_tray.cc |
index 608442dafc07ee03ec3c7af9a1c97b3f39d08502..25a4f8f2beac70af51b5f176e3d3aadd84bd8a6c 100644 |
--- a/ash/system/web_notification/web_notification_tray.cc |
+++ b/ash/system/web_notification/web_notification_tray.cc |
@@ -382,6 +382,14 @@ class WebNotificationView : public views::View, |
return true; |
} |
+ virtual ui::GestureStatus OnGestureEvent( |
+ const views::GestureEvent& event) OVERRIDE { |
+ if (event.type() != ui::ET_GESTURE_TAP) |
+ return ui::GESTURE_STATUS_UNKNOWN; |
+ tray_->OnClicked(notification_.id); |
+ return ui::GESTURE_STATUS_CONSUMED; |
+ } |
+ |
// Overridden from ButtonListener. |
virtual void ButtonPressed(views::Button* sender, |
const views::Event& event) OVERRIDE { |