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

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

Issue 2674953003: Only generate suggested filenames when actually dragging an image. (Closed)
Patch Set: rebase Created 3 years, 10 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: 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 658dffdfd98f69c9ec3170228bb65182de539134..8e80137f7a40387fd517330cb2b010c2fe96c731 100644
--- a/third_party/WebKit/Source/core/clipboard/DataTransfer.h
+++ b/third_party/WebKit/Source/core/clipboard/DataTransfer.h
@@ -98,7 +98,10 @@ class CORE_EXPORT DataTransfer final
std::unique_ptr<DragImage> createDragImage(IntPoint& dragLocation,
LocalFrame*) const;
- void declareAndWriteDragImage(Element*, const KURL&, const String& title);
+ void declareAndWriteDragImage(Element*,
+ const KURL& linkURL,
+ const KURL& imageURL,
+ const String& title);
void writeURL(Node*, const KURL&, const String&);
void writeSelection(const FrameSelection&);
« no previous file with comments | « third_party/WebKit/Source/core/clipboard/DataObjectItem.cpp ('k') | third_party/WebKit/Source/core/clipboard/DataTransfer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698