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

Unified Diff: ui/views/controls/menu/menu_host_root_view.cc

Issue 10843060: views: Fix gesture event propagation in menus. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: self-nit Created 8 years, 5 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 | « chrome/browser/ui/views/wrench_menu.cc ('k') | no next file » | 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 56086ea1cf6789b6b0699e34d4270d60e2d8275a..5a6c0e7749b0544e4ea6c08b270dcc8d3add5217 100644
--- a/ui/views/controls/menu/menu_host_root_view.cc
+++ b/ui/views/controls/menu/menu_host_root_view.cc
@@ -63,6 +63,7 @@ bool MenuHostRootView::OnMouseWheel(const MouseWheelEvent& event) {
}
ui::GestureStatus MenuHostRootView::OnGestureEvent(const GestureEvent& event) {
+ RootView::OnGestureEvent(event);
// ChromeOS uses MenuController to forward events like other
// mouse events.
if (!GetMenuController())
« no previous file with comments | « chrome/browser/ui/views/wrench_menu.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698