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

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

Issue 256103007: Remove modules/filesystem/DraggedIsolatedFileSystem.h dependency from core/DEPS. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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 | « Source/core/DEPS ('k') | Source/core/page/DragData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/DEPS ('k') | Source/core/page/DragData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698