Index: Source/core/clipboard/DataObject.h |
diff --git a/Source/core/clipboard/DataObject.h b/Source/core/clipboard/DataObject.h |
index b24d89230611de69870ac867d634276147e4d151..6402170e4a49c8a75d788ad83e8bf163e2543e60 100644 |
--- a/Source/core/clipboard/DataObject.h |
+++ b/Source/core/clipboard/DataObject.h |
@@ -87,6 +87,10 @@ public: |
Vector<String> filenames() const; |
void addFilename(const String& filename, const String& displayName); |
+ // Used for dragging in filesystem from the desktop. |
+ void setFilesystemId(const String& fileSystemId) { m_filesystemId = fileSystemId; } |
+ const String& filesystemId() const { ASSERT(!m_filesystemId.isEmpty()); return m_filesystemId; } |
+ |
// Used to handle files (images) being dragged out. |
void addSharedBuffer(const String& name, PassRefPtr<SharedBuffer>); |
@@ -107,6 +111,7 @@ private: |
// State of Shift/Ctrl/Alt/Meta keys. |
int m_modifierKeyState; |
+ String m_filesystemId; |
}; |
} // namespace WebCore |