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

Unified Diff: third_party/WebKit/Source/core/clipboard/DataObject.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
« no previous file with comments | « content/renderer/render_widget.cc ('k') | third_party/WebKit/Source/core/clipboard/DataObject.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/DataObject.h
diff --git a/third_party/WebKit/Source/core/clipboard/DataObject.h b/third_party/WebKit/Source/core/clipboard/DataObject.h
index 9cd3e3d3b7a36eb62c33448be6b67a3b4b51b951..bcb9b03bb328367cd09476816d4db47c83ada85b 100644
--- a/third_party/WebKit/Source/core/clipboard/DataObject.h
+++ b/third_party/WebKit/Source/core/clipboard/DataObject.h
@@ -103,7 +103,10 @@ class CORE_EXPORT DataObject : public GarbageCollectedFinalized<DataObject>,
}
// Used to handle files (images) being dragged out.
- void addSharedBuffer(const String& name, PassRefPtr<SharedBuffer>);
+ void addSharedBuffer(PassRefPtr<SharedBuffer>,
+ const KURL&,
+ const String& filenameExtension,
+ const AtomicString& contentDisposition);
int modifiers() const { return m_modifiers; }
void setModifiers(int modifiers) { m_modifiers = modifiers; }
« no previous file with comments | « content/renderer/render_widget.cc ('k') | third_party/WebKit/Source/core/clipboard/DataObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698