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

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: Created 7 years, 12 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
Index: ui/base/dragdrop/drag_utils_aura.cc
===================================================================
--- ui/base/dragdrop/drag_utils_aura.cc (revision 175112)
+++ 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

Powered by Google App Engine
This is Rietveld 408576698