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

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

Issue 10832282: Replace views::MouseEvent with ui::MouseEvent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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/link.cc ('k') | ui/views/controls/menu/menu_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/menu/menu_controller.h
===================================================================
--- ui/views/controls/menu/menu_controller.h (revision 151406)
+++ ui/views/controls/menu/menu_controller.h (working copy)
@@ -109,11 +109,11 @@
//
// NOTE: the coordinates of the events are in that of the
// MenuScrollViewContainer.
- void OnMousePressed(SubmenuView* source, const MouseEvent& event);
- void OnMouseDragged(SubmenuView* source, const MouseEvent& event);
- void OnMouseReleased(SubmenuView* source, const MouseEvent& event);
- void OnMouseMoved(SubmenuView* source, const MouseEvent& event);
- void OnMouseEntered(SubmenuView* source, const MouseEvent& event);
+ void OnMousePressed(SubmenuView* source, const ui::MouseEvent& event);
+ void OnMouseDragged(SubmenuView* source, const ui::MouseEvent& event);
+ void OnMouseReleased(SubmenuView* source, const ui::MouseEvent& event);
+ void OnMouseMoved(SubmenuView* source, const ui::MouseEvent& event);
+ void OnMouseEntered(SubmenuView* source, const ui::MouseEvent& event);
#if defined(OS_LINUX)
bool OnMouseWheel(SubmenuView* source, const MouseWheelEvent& event);
#endif
@@ -431,13 +431,13 @@
// that they react to click-drag-release as if the user clicked on the view
// itself.
void UpdateActiveMouseView(SubmenuView* event_source,
- const MouseEvent& event,
+ const ui::MouseEvent& event,
View* target_menu);
// Sends a mouse release event to the current |active_mouse_view_| and sets
// it to null.
void SendMouseReleaseToActiveView(SubmenuView* event_source,
- const MouseEvent& event);
+ const ui::MouseEvent& event);
// Sends a mouse capture lost event to the current |active_mouse_view_| and
// sets it to null.
« no previous file with comments | « ui/views/controls/link.cc ('k') | ui/views/controls/menu/menu_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698