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

Unified Diff: ui/views/controls/menu/menu_host_root_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 | « ui/views/controls/menu/menu_host_root_view.h ('k') | ui/views/controls/menu/submenu_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/menu/menu_host_root_view.cc
diff --git a/ui/views/controls/menu/menu_host_root_view.cc b/ui/views/controls/menu/menu_host_root_view.cc
index c029007147cbacbc7b39a05022a0394d4607a8f7..feda2d1aa1d96ea9b6a77dfa55c08eb226b70d0f 100644
--- a/ui/views/controls/menu/menu_host_root_view.cc
+++ b/ui/views/controls/menu/menu_host_root_view.cc
@@ -62,13 +62,13 @@ bool MenuHostRootView::OnMouseWheel(const ui::MouseWheelEvent& event) {
#endif
}
-ui::GestureStatus MenuHostRootView::OnGestureEvent(
+ui::EventResult MenuHostRootView::OnGestureEvent(
const ui::GestureEvent& event) {
RootView::OnGestureEvent(event);
// ChromeOS uses MenuController to forward events like other
// mouse events.
if (!GetMenuController())
- return ui::GESTURE_STATUS_UNKNOWN;
+ return ui::ER_UNHANDLED;
return GetMenuController()->OnGestureEvent(submenu_, event);
}
« no previous file with comments | « ui/views/controls/menu/menu_host_root_view.h ('k') | ui/views/controls/menu/submenu_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698