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

Unified Diff: ui/views/controls/menu/menu_controller.h

Issue 8508024: Support touch scroll gestures in menus. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: No reason menu gestures should be linux-only. Created 8 years, 11 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
Index: ui/views/controls/menu/menu_controller.h
diff --git a/ui/views/controls/menu/menu_controller.h b/ui/views/controls/menu/menu_controller.h
index ceabd3b73549b88d301b30d91c03e99463c6af85..e467bcd1f3963e49f2728da3d018950104202501 100644
--- a/ui/views/controls/menu/menu_controller.h
+++ b/ui/views/controls/menu/menu_controller.h
@@ -104,6 +104,8 @@ class VIEWS_EXPORT MenuController : public MessageLoop::Dispatcher {
#if defined(OS_LINUX)
bool OnMouseWheel(SubmenuView* source, const MouseWheelEvent& event);
#endif
+ ui::GestureStatus OnGestureEvent(SubmenuView* source,
+ const GestureEvent& event);
bool GetDropFormats(
SubmenuView* source,

Powered by Google App Engine
This is Rietveld 408576698