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

Unified Diff: third_party/WebKit/Source/core/clipboard/DataTransfer.h

Issue 2469873002: [ImageResource 4] Split ImageResource into Resource and Image parts (Closed)
Patch Set: style Created 4 years 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 | « no previous file | third_party/WebKit/Source/core/clipboard/DataTransfer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/clipboard/DataTransfer.h
diff --git a/third_party/WebKit/Source/core/clipboard/DataTransfer.h b/third_party/WebKit/Source/core/clipboard/DataTransfer.h
index 2c6d30582fb1cdcfcf08c8b728bd09adcccc7b24..13d54a24ab5b6149a821c6f46e73732f3a393ca6 100644
--- a/third_party/WebKit/Source/core/clipboard/DataTransfer.h
+++ b/third_party/WebKit/Source/core/clipboard/DataTransfer.h
@@ -27,7 +27,7 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "core/CoreExport.h"
#include "core/clipboard/DataTransferAccessPolicy.h"
-#include "core/fetch/ImageResource.h"
+#include "core/fetch/ImageResourceContent.h"
#include "core/page/DragActions.h"
#include "platform/geometry/IntPoint.h"
#include "platform/heap/Handle.h"
@@ -93,7 +93,7 @@ class CORE_EXPORT DataTransfer final
IntPoint dragLocation() const { return m_dragLoc; }
void setDragImage(Element*, int x, int y);
void clearDragImage();
- void setDragImageResource(ImageResource*, const IntPoint&);
+ void setDragImageResource(ImageResourceContent*, const IntPoint&);
void setDragImageElement(Node*, const IntPoint&);
std::unique_ptr<DragImage> createDragImage(IntPoint& dragLocation,
@@ -129,7 +129,7 @@ class CORE_EXPORT DataTransfer final
private:
DataTransfer(DataTransferType, DataTransferAccessPolicy, DataObject*);
- void setDragImage(ImageResource*, Node*, const IntPoint&);
+ void setDragImage(ImageResourceContent*, Node*, const IntPoint&);
bool hasFileOfType(const String&) const;
bool hasStringOfType(const String&) const;
@@ -143,7 +143,7 @@ class CORE_EXPORT DataTransfer final
Member<DataObject> m_dataObject;
IntPoint m_dragLoc;
- Member<ImageResource> m_dragImage;
+ Member<ImageResourceContent> m_dragImage;
Member<Node> m_dragImageElement;
};
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/clipboard/DataTransfer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698