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

Unified Diff: Source/core/page/DragController.h

Issue 16715002: Refactor WebCore::DragImage. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: merge upstream changes, some changes per jamesr Created 7 years, 6 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 | « Source/core/page/DragClient.h ('k') | Source/core/page/DragController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/DragController.h
diff --git a/Source/core/page/DragController.h b/Source/core/page/DragController.h
index e3132acbd6d6adcc7faeed8aef4cd882e897d44f..62a0826f530c33a7121aabb07948203f0960969b 100644
--- a/Source/core/page/DragController.h
+++ b/Source/core/page/DragController.h
@@ -27,9 +27,9 @@
#define DragController_h
#include "core/page/DragActions.h"
-#include "core/platform/DragImage.h"
#include "core/platform/graphics/IntPoint.h"
#include "weborigin/KURL.h"
+#include "wtf/Forward.h"
namespace WebCore {
@@ -37,6 +37,7 @@ namespace WebCore {
class Document;
class DragClient;
class DragData;
+ class DragImage;
struct DragSession;
struct DragState;
class Element;
@@ -49,7 +50,7 @@ namespace WebCore {
class Page;
class PlatformMouseEvent;
class Range;
-
+
class DragController {
WTF_MAKE_NONCOPYABLE(DragController); WTF_MAKE_FAST_ALLOCATED;
public:
@@ -110,9 +111,9 @@ namespace WebCore {
void mouseMovedIntoDocument(Document*);
IntRect selectionDraggingRect(Frame*);
- bool doDrag(Frame* src, Clipboard* clipboard, DragImageRef dragImage, const KURL& linkURL, const KURL& imageURL, Node* node, IntPoint& dragLoc, IntPoint& dragImageOffset);
+ bool doDrag(Frame* src, Clipboard*, DragImage*, const KURL& linkURL, const KURL& imageURL, Node*, IntPoint& dragLoc, IntPoint& dragImageOffset);
void doImageDrag(Element*, const IntPoint&, const IntRect&, Clipboard*, Frame*, IntPoint&);
- void doSystemDrag(DragImageRef, const IntPoint&, const IntPoint&, Clipboard*, Frame*, bool forLink);
+ void doSystemDrag(DragImage*, const IntPoint&, const IntPoint&, Clipboard*, Frame*, bool forLink);
void cleanupAfterSystemDrag();
Page* m_page;
« no previous file with comments | « Source/core/page/DragClient.h ('k') | Source/core/page/DragController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698