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

Unified Diff: ui/base/dragdrop/drag_utils_aura.cc

Issue 11787005: Get drag and drop working on Win Ash. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync and take out dcheck for win Created 7 years, 11 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 | « ash/drag_drop/drag_drop_controller_unittest.cc ('k') | ui/base/dragdrop/drag_utils_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/dragdrop/drag_utils_aura.cc
===================================================================
--- ui/base/dragdrop/drag_utils_aura.cc (revision 175409)
+++ ui/base/dragdrop/drag_utils_aura.cc (working copy)
@@ -6,7 +6,6 @@
#include "base/logging.h"
#include "ui/base/dragdrop/os_exchange_data.h"
-#include "ui/base/dragdrop/os_exchange_data_provider_aura.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/image/image_skia.h"
#include "ui/gfx/size.h"
@@ -18,10 +17,8 @@
const gfx::Size& size,
const gfx::Vector2d& cursor_offset,
ui::OSExchangeData* data_object) {
- ui::OSExchangeDataProviderAura& provider(
- static_cast<ui::OSExchangeDataProviderAura&>(data_object->provider()));
- provider.set_drag_image(image);
- provider.set_drag_image_offset(cursor_offset);
+
+ data_object->provider().SetDragImage(image, cursor_offset);
}
} // namespace drag_utils
« no previous file with comments | « ash/drag_drop/drag_drop_controller_unittest.cc ('k') | ui/base/dragdrop/drag_utils_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698