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

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

Issue 2582463002: Fix webkitGetEntry for non-native files. (Closed)
Patch Set: . 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 b1464bb84b114f6a65b4321440a7a8e2a638a9b3..e26328677d18795931c626dac5d676d71c6399b2 100644
--- a/third_party/WebKit/Source/core/clipboard/DataObject.h
+++ b/third_party/WebKit/Source/core/clipboard/DataObject.h
@@ -71,6 +71,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);
@@ -87,7 +88,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