diff options
Diffstat (limited to 'views/controls/menu/menu_host_root_view.cc')
-rw-r--r-- | views/controls/menu/menu_host_root_view.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/views/controls/menu/menu_host_root_view.cc b/views/controls/menu/menu_host_root_view.cc index cc0124c..bb791fc 100644 --- a/views/controls/menu/menu_host_root_view.cc +++ b/views/controls/menu/menu_host_root_view.cc @@ -66,17 +66,17 @@ void MenuHostRootView::OnMouseMoved(const MouseEvent& event) { GetMenuController()->OnMouseMoved(submenu_, event); } -bool MenuHostRootView::OnMouseWheel(const MouseWheelEvent& e) { +bool MenuHostRootView::OnMouseWheel(const MouseWheelEvent& event) { // RootView::OnMouseWheel forwards to the focused view. We don't have a // focused view, so we need to override this then forward to the menu. - return submenu_->OnMouseWheel(e); + return submenu_->OnMouseWheel(event); } -void MenuHostRootView::ProcessOnMouseExited() { +void MenuHostRootView::OnMouseExited(const MouseEvent& event) { if (suspend_events_) return; - RootView::ProcessOnMouseExited(); + RootView::OnMouseExited(event); } MenuController* MenuHostRootView::GetMenuController() { |