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

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

Issue 395563002: Make RootView::DispatchGestureEvent() non-virtual (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: ui/views/controls/menu/menu_host_root_view.h
diff --git a/ui/views/controls/menu/menu_host_root_view.h b/ui/views/controls/menu/menu_host_root_view.h
index 16f59efcf9384ad1769dc3743cdd829a0c06337e..640ff6c882d05c300f45262bdad447845424e1f5 100644
--- a/ui/views/controls/menu/menu_host_root_view.h
+++ b/ui/views/controls/menu/menu_host_root_view.h
@@ -31,10 +31,10 @@ class MenuHostRootView : public internal::RootView {
virtual void OnMouseMoved(const ui::MouseEvent& event) OVERRIDE;
virtual bool OnMouseWheel(const ui::MouseWheelEvent& event) OVERRIDE;
- // Overridden from internal::RootView:
- virtual void DispatchGestureEvent(ui::GestureEvent* e) OVERRIDE;
-
private:
+ // ui::EventProcessor:
+ virtual ui::EventDispatchDetails OnEventFromSource(ui::Event* event) OVERRIDE;
+
// Returns the MenuController for this MenuHostRootView.
MenuController* GetMenuController();

Powered by Google App Engine
This is Rietveld 408576698