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

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

Issue 10824295: Rid the world of the last of views::Event types: TouchEvent, GestureEvent, MouseWheelEvent, ScrollE… (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 151481)
+++ ui/views/controls/menu/menu_controller.h (working copy)
@@ -115,10 +115,10 @@
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);
+ bool OnMouseWheel(SubmenuView* source, const ui::MouseWheelEvent& event);
#endif
ui::GestureStatus OnGestureEvent(SubmenuView* source,
- const GestureEvent& event);
+ const ui::GestureEvent& event);
bool GetDropFormats(
SubmenuView* source,
@@ -126,10 +126,10 @@
std::set<ui::OSExchangeData::CustomFormat>* custom_formats);
bool AreDropTypesRequired(SubmenuView* source);
bool CanDrop(SubmenuView* source, const ui::OSExchangeData& data);
- void OnDragEntered(SubmenuView* source, const DropTargetEvent& event);
- int OnDragUpdated(SubmenuView* source, const DropTargetEvent& event);
+ void OnDragEntered(SubmenuView* source, const ui::DropTargetEvent& event);
+ int OnDragUpdated(SubmenuView* source, const ui::DropTargetEvent& event);
void OnDragExited(SubmenuView* source);
- int OnPerformDrop(SubmenuView* source, const DropTargetEvent& event);
+ int OnPerformDrop(SubmenuView* source, const ui::DropTargetEvent& event);
// Invoked from the scroll buttons of the MenuScrollViewContainer.
void OnDragEnteredScrollButton(SubmenuView* source, bool is_up);
« 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