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

Unified Diff: Source/core/clipboard/DataObject.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 | « no previous file | Source/core/clipboard/DataObject.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 b0c1d5f5c906546ee32cb048b5ca59b49c8e18d9..bba46a9cae57d44ea906ce0d1fe9dcac3bdbb487 100644
--- a/Source/core/clipboard/DataObject.h
+++ b/Source/core/clipboard/DataObject.h
@@ -46,6 +46,7 @@ namespace blink {
class KURL;
class SharedBuffer;
+class WebDragData;
// A data object for holding data that would be in a clipboard or moved
// during a drag-n-drop operation. This is the data that WebCore is aware
@@ -55,6 +56,7 @@ class DataObject : public RefCountedWillBeGarbageCollectedFinalized<DataObject>,
public:
static PassRefPtrWillBeRawPtr<DataObject> createFromPasteboard(PasteMode);
static PassRefPtrWillBeRawPtr<DataObject> create();
+ static PassRefPtrWillBeRawPtr<DataObject> create(WebDragData);
virtual ~DataObject();
@@ -97,6 +99,8 @@ public:
DECLARE_TRACE();
+ WebDragData toWebDragData();
+
private:
DataObject();
« no previous file with comments | « no previous file | Source/core/clipboard/DataObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698