summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webdropdata.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/webdropdata.cc')
-rw-r--r--webkit/glue/webdropdata.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/webkit/glue/webdropdata.cc b/webkit/glue/webdropdata.cc
index d46987a..ea9e6c6 100644
--- a/webkit/glue/webdropdata.cc
+++ b/webkit/glue/webdropdata.cc
@@ -15,6 +15,10 @@ using WebKit::WebDragData;
using WebKit::WebString;
using WebKit::WebVector;
+WebDropData::WebDropData(int32 drag_identity)
+ : identity(drag_identity) {
+}
+
WebDropData::WebDropData(const WebDragData& drag_data)
: identity(0),
url(drag_data.url()),
@@ -36,6 +40,13 @@ WebDropData::WebDropData(const WebDragData& drag_data)
file_contents.assign(contents.data(), contents.size());
}
+WebDropData::WebDropData()
+ : identity(0) {
+}
+
+WebDropData::~WebDropData() {
+}
+
WebDragData WebDropData::ToDragData() const {
WebDragData result;
result.initialize();