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

Unified Diff: ui/views/controls/menu/menu_delegate.cc

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/menu/menu_delegate.h ('k') | ui/views/controls/menu/menu_host_root_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/menu/menu_delegate.cc
===================================================================
--- ui/views/controls/menu/menu_delegate.cc (revision 151481)
+++ ui/views/controls/menu/menu_delegate.cc (working copy)
@@ -81,7 +81,7 @@
}
int MenuDelegate::GetDropOperation(MenuItemView* item,
- const DropTargetEvent& event,
+ const ui::DropTargetEvent& event,
DropPosition* position) {
NOTREACHED() << "If you override CanDrop, you need to override this too";
return ui::DragDropTypes::DRAG_NONE;
@@ -89,7 +89,7 @@
int MenuDelegate::OnPerformDrop(MenuItemView* menu,
DropPosition position,
- const DropTargetEvent& event) {
+ const ui::DropTargetEvent& event) {
NOTREACHED() << "If you override CanDrop, you need to override this too";
return ui::DragDropTypes::DRAG_NONE;
}
« no previous file with comments | « ui/views/controls/menu/menu_delegate.h ('k') | ui/views/controls/menu/menu_host_root_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698