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

Unified Diff: Source/core/dom/Clipboard.h

Issue 26532002: Get rid of of custom code for Clipboard.setDragImage() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 2 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/bindings/v8/custom/V8ClipboardCustom.cpp ('k') | Source/core/dom/Clipboard.cpp » ('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 6031d3b2abe04a9470b4cf1122d9261e8e4462f2..dfe22710e7643811e229de083cdc141da673e1a7 100644
--- a/Source/core/dom/Clipboard.h
+++ b/Source/core/dom/Clipboard.h
@@ -40,6 +40,7 @@ class ChromiumDataObject;
class DataTransferItemList;
class DragImage;
class Element;
+class ExceptionState;
class FileList;
class Frame;
class ImageResource;
@@ -76,8 +77,9 @@ public:
PassRefPtr<FileList> files() const;
IntPoint dragLocation() const { return m_dragLoc; }
- ImageResource* dragImage() const { return m_dragImage.get(); }
- void setDragImage(ImageResource*, const IntPoint&);
+ void setDragImage(Element*, int x, int y, ExceptionState&);
+ ImageResource* dragImageResource() const { return m_dragImage.get(); }
+ void setDragImageResource(ImageResource*, const IntPoint&);
Node* dragImageElement() const { return m_dragImageElement.get(); }
void setDragImageElement(Node*, const IntPoint&);
« no previous file with comments | « Source/bindings/v8/custom/V8ClipboardCustom.cpp ('k') | Source/core/dom/Clipboard.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698