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

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

Issue 2565283002: Fix webkitGetEntry for non-native files. (Closed)
Patch Set: Rebased. 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 | « 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 de2a186652657b876c040db8612029ff1143e0fe..9cd3e3d3b7a36eb62c33448be6b67a3b4b51b951 100644
--- a/third_party/WebKit/Source/core/clipboard/DataObject.h
+++ b/third_party/WebKit/Source/core/clipboard/DataObject.h
@@ -72,6 +72,7 @@ class CORE_EXPORT DataObject : public GarbageCollectedFinalized<DataObject>,
// Returns null if an item already exists with the provided type.
DataObjectItem* add(const String& data, const String& type);
DataObjectItem* add(File*);
+ DataObjectItem* add(File*, const String& fileSystemId);
// WebCore helpers.
void clearData(const String& type);
@@ -88,7 +89,9 @@ class CORE_EXPORT DataObject : public GarbageCollectedFinalized<DataObject>,
// Used for dragging in files from the desktop.
bool containsFilenames() const;
Vector<String> filenames() const;
- void addFilename(const String& filename, const String& displayName);
+ void addFilename(const String& filename,
+ const String& displayName,
+ const String& fileSystemId);
// Used for dragging in filesystem from the desktop.
void setFilesystemId(const String& fileSystemId) {
« 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