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

Unified Diff: ash/system/status_area_widget_delegate.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/status_area_widget_delegate.h ('k') | ash/system/tray/tray_bubble_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/status_area_widget_delegate.cc
diff --git a/ash/system/status_area_widget_delegate.cc b/ash/system/status_area_widget_delegate.cc
index 8d145ced4acfe2c1bad5fa1e710d865106dbfd3f..f3c1c347006f8ab808bf33cb7e8f3607c498c996 100644
--- a/ash/system/status_area_widget_delegate.cc
+++ b/ash/system/status_area_widget_delegate.cc
@@ -62,10 +62,10 @@ const views::Widget* StatusAreaWidgetDelegate::GetWidget() const {
return View::GetWidget();
}
-ui::GestureStatus StatusAreaWidgetDelegate::OnGestureEvent(
+ui::EventResult StatusAreaWidgetDelegate::OnGestureEvent(
const ui::GestureEvent& event) {
if (gesture_handler_.ProcessGestureEvent(event))
- return ui::GESTURE_STATUS_CONSUMED;
+ return ui::ER_CONSUMED;
return views::AccessiblePaneView::OnGestureEvent(event);
}
« no previous file with comments | « ash/system/status_area_widget_delegate.h ('k') | ash/system/tray/tray_bubble_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698