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

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

Issue 925913002: Fixed WebDragData's wrong dependency. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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 | « Source/core/clipboard/DataObject.cpp ('k') | Source/core/clipboard/DraggedIsolatedFileSystem.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/clipboard/DraggedIsolatedFileSystem.h
diff --git a/Source/core/clipboard/DraggedIsolatedFileSystem.h b/Source/core/clipboard/DraggedIsolatedFileSystem.h
new file mode 100644
index 0000000000000000000000000000000000000000..4a893989f37b4125f2766b0a822066a290620784
--- /dev/null
+++ b/Source/core/clipboard/DraggedIsolatedFileSystem.h
@@ -0,0 +1,32 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef DraggedIsolatedFileSystem_h
+#define DraggedIsolatedFileSystem_h
+
+#include "platform/heap/Handle.h"
+#include "wtf/Forward.h"
+
+namespace blink {
+
+class DataObject;
+
+class DraggedIsolatedFileSystem {
+ WTF_MAKE_NONCOPYABLE(DraggedIsolatedFileSystem);
+public:
+ DraggedIsolatedFileSystem() { }
+ virtual ~DraggedIsolatedFileSystem() { }
+
+ using FileSystemIdPreparationCallback = void(*)(DataObject*, const String&);
+ static void init(FileSystemIdPreparationCallback);
+
+ static void prepareForDataObject(DataObject*, const String& filesystemId);
+
+private:
+ static FileSystemIdPreparationCallback s_prepareCallback;
+};
+
+} // namespace blink
+
+#endif // DraggedIsolatedFileSystem_h
« no previous file with comments | « Source/core/clipboard/DataObject.cpp ('k') | Source/core/clipboard/DraggedIsolatedFileSystem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698