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

Unified Diff: ui/views/widget/drop_target_win.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/widget/drop_helper.cc ('k') | ui/views/widget/root_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/drop_target_win.cc
===================================================================
--- ui/views/widget/drop_target_win.cc (revision 151267)
+++ ui/views/widget/drop_target_win.cc (working copy)
@@ -33,7 +33,7 @@
POINT cursor_position,
DWORD effect) {
gfx::Point root_view_location(cursor_position.x, cursor_position.y);
- View::ConvertPointToView(NULL, helper_.root_view(), &root_view_location);
+ View::ConvertPointToTarget(NULL, helper_.root_view(), &root_view_location);
OSExchangeData data(new OSExchangeDataProviderWin(data_object));
int drop_operation =
helper_.OnDragOver(data, root_view_location,
@@ -50,7 +50,7 @@
POINT cursor_position,
DWORD effect) {
gfx::Point root_view_location(cursor_position.x, cursor_position.y);
- View::ConvertPointToView(NULL, helper_.root_view(), &root_view_location);
+ View::ConvertPointToTarget(NULL, helper_.root_view(), &root_view_location);
OSExchangeData data(new OSExchangeDataProviderWin(data_object));
int drop_operation = ui::DragDropTypes::DropEffectToDragOperation(effect);
« no previous file with comments | « ui/views/widget/drop_helper.cc ('k') | ui/views/widget/root_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698