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

Unified Diff: ui/views/controls/combobox/native_combobox_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 | « ui/views/controls/combobox/native_combobox_views.h ('k') | ui/views/controls/link.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/combobox/native_combobox_views.cc
diff --git a/ui/views/controls/combobox/native_combobox_views.cc b/ui/views/controls/combobox/native_combobox_views.cc
index 1b24eb01a319579b48648de13e562e9d34ba5d44..50f18dad13f63a1691128f526db67d605980cccf 100644
--- a/ui/views/controls/combobox/native_combobox_views.cc
+++ b/ui/views/controls/combobox/native_combobox_views.cc
@@ -92,12 +92,12 @@ bool NativeComboboxViews::OnMouseDragged(const ui::MouseEvent& mouse_event) {
return true;
}
-ui::GestureStatus NativeComboboxViews::OnGestureEvent(
+ui::EventResult NativeComboboxViews::OnGestureEvent(
const ui::GestureEvent& gesture_event) {
if (gesture_event.type() == ui::ET_GESTURE_TAP) {
UpdateFromModel();
ShowDropDownMenu();
- return ui::GESTURE_STATUS_CONSUMED;
+ return ui::ER_CONSUMED;
}
return View::OnGestureEvent(gesture_event);
}
« no previous file with comments | « ui/views/controls/combobox/native_combobox_views.h ('k') | ui/views/controls/link.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698