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

Unified Diff: ash/drag_drop/drag_drop_controller.h

Issue 10919135: Move ash specific cursor code to CursorManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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: ash/drag_drop/drag_drop_controller.h
diff --git a/ash/drag_drop/drag_drop_controller.h b/ash/drag_drop/drag_drop_controller.h
index d138ef64163208262900d5a985d92844eaa374e0..692844783f95d94eba7ad3420315ee602139a9d1 100644
--- a/ash/drag_drop/drag_drop_controller.h
+++ b/ash/drag_drop/drag_drop_controller.h
@@ -88,6 +88,10 @@ class ASH_EXPORT DragDropController
// Helper method to reset everything.
void Cleanup();
+ // Sets |drag_cursor_| appropriately with the platform cursor and the device
+ // scale factor based on the native type of |cursor|.
+ void SetDragCursor(gfx::NativeCursor cursor);
+
scoped_ptr<DragImageView> drag_image_;
gfx::Point drag_image_offset_;
const ui::OSExchangeData* drag_data_;

Powered by Google App Engine
This is Rietveld 408576698