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

Unified Diff: ui/views/widget/drop_helper.cc

Issue 10828265: Replace views::LocatedEvent with ui::LocatedEvent (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/view_unittest.cc ('k') | ui/views/widget/drop_target_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/drop_helper.cc
===================================================================
--- ui/views/widget/drop_helper.cc (revision 151267)
+++ ui/views/widget/drop_helper.cc (working copy)
@@ -62,7 +62,7 @@
gfx::Point view_location(root_view_location);
View* root_view = drop_view->GetWidget()->GetRootView();
- View::ConvertPointToView(root_view, drop_view, &view_location);
+ View::ConvertPointToTarget(root_view, drop_view, &view_location);
DropTargetEvent drop_event(data, view_location.x(), view_location.y(),
drag_operation);
return drop_view->OnPerformDrop(drop_event);
@@ -125,7 +125,7 @@
return;
gfx::Point target_view_location(root_view_location);
- View::ConvertPointToView(root_view_, target_view_, &target_view_location);
+ View::ConvertPointToTarget(root_view_, target_view_, &target_view_location);
DropTargetEvent enter_event(data,
target_view_location.x(),
target_view_location.y(),
@@ -140,7 +140,7 @@
return ui::DragDropTypes::DRAG_NONE;
gfx::Point target_view_location(root_view_location);
- View::ConvertPointToView(root_view_, target_view_, &target_view_location);
+ View::ConvertPointToTarget(root_view_, target_view_, &target_view_location);
DropTargetEvent enter_event(data,
target_view_location.x(),
target_view_location.y(),
« no previous file with comments | « ui/views/view_unittest.cc ('k') | ui/views/widget/drop_target_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698