Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Unified Diff: ash/system/tray/tray_notification_view.cc

Issue 10912063: events: Get rid of GestureStatus in favour of EventResult. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/system/tray/tray_notification_view.h ('k') | ash/system/tray/tray_views.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/tray_notification_view.cc
diff --git a/ash/system/tray/tray_notification_view.cc b/ash/system/tray/tray_notification_view.cc
index 7536572369ce710f05a3df75d681da4b64872cd2..1943911b7f3f7422b83aee3b437af7b2689e0d1c 100644
--- a/ash/system/tray/tray_notification_view.cc
+++ b/ash/system/tray/tray_notification_view.cc
@@ -120,12 +120,12 @@ bool TrayNotificationView::OnMousePressed(const ui::MouseEvent& event) {
return true;
}
-ui::GestureStatus TrayNotificationView::OnGestureEvent(
+ui::EventResult TrayNotificationView::OnGestureEvent(
const ui::GestureEvent& event) {
if (event.type() != ui::ET_GESTURE_TAP)
- return ui::GESTURE_STATUS_UNKNOWN;
+ return ui::ER_UNHANDLED;
HandleClickAction();
- return ui::GESTURE_STATUS_CONSUMED;
+ return ui::ER_CONSUMED;
}
void TrayNotificationView::OnClose() {
« no previous file with comments | « ash/system/tray/tray_notification_view.h ('k') | ash/system/tray/tray_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698