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

Unified Diff: Source/core/dom/Clipboard.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/core.gypi ('k') | Source/core/loader/EmptyClients.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Clipboard.h
diff --git a/Source/core/dom/Clipboard.h b/Source/core/dom/Clipboard.h
index ef51bf35e50d9cc7b23e1cc815a788e17b9ff0ba..1593a5c717969f1446c4c01aa3480af81f7de4e4 100644
--- a/Source/core/dom/Clipboard.h
+++ b/Source/core/dom/Clipboard.h
@@ -31,13 +31,17 @@
#include "core/page/DragActions.h"
#include "core/platform/DragImage.h"
#include "core/platform/graphics/IntPoint.h"
+#include "wtf/Forward.h"
namespace WebCore {
+class CachedImage;
class DataTransferItemList;
class DragData;
+class DragImage;
class FileList;
class Frame;
+class Range;
// State available during IE's events for drag and drop and copy/paste
class Clipboard : public RefCounted<Clipboard>, public ScriptWrappable {
@@ -76,7 +80,7 @@ public:
Node* dragImageElement() const { return m_dragImageElement.get(); }
virtual void setDragImageElement(Node*, const IntPoint&) = 0;
- virtual DragImageRef createDragImage(IntPoint& dragLocation) const = 0;
+ virtual PassOwnPtr<DragImage> createDragImage(IntPoint& dragLocation) const = 0;
virtual void declareAndWriteDragImage(Element*, const KURL&, const String& title, Frame*) = 0;
virtual void writeURL(const KURL&, const String&, Frame*) = 0;
virtual void writeRange(Range*, Frame*) = 0;
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/loader/EmptyClients.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698