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

Unified Diff: ash/system/tray/tray_views.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_views.h ('k') | ash/system/web_notification/web_notification_tray.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/tray_views.cc
diff --git a/ash/system/tray/tray_views.cc b/ash/system/tray/tray_views.cc
index 8d9148e9e7d8191adc9c5d5b9cc1a68241c42f12..26924b020d588577d30e13439f04e90c76b92bb8 100644
--- a/ash/system/tray/tray_views.cc
+++ b/ash/system/tray/tray_views.cc
@@ -148,13 +148,13 @@ void ActionableView::OnPaintFocusBorder(gfx::Canvas* canvas) {
DrawBorder(canvas, GetLocalBounds());
}
-ui::GestureStatus ActionableView::OnGestureEvent(
+ui::EventResult ActionableView::OnGestureEvent(
const ui::GestureEvent& event) {
if (event.type() == ui::ET_GESTURE_TAP) {
- return PerformAction(event) ? ui::GESTURE_STATUS_CONSUMED :
- ui::GESTURE_STATUS_UNKNOWN;
+ return PerformAction(event) ? ui::ER_CONSUMED :
+ ui::ER_UNHANDLED;
}
- return ui::GESTURE_STATUS_UNKNOWN;
+ return ui::ER_UNHANDLED;
}
void ActionableView::GetAccessibleState(ui::AccessibleViewState* state) {
« no previous file with comments | « ash/system/tray/tray_views.h ('k') | ash/system/web_notification/web_notification_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698