summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webdropdata.cc
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-27 21:23:48 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-27 21:23:48 +0000
commit04bf3ad5acb81f9e932449dabd19708826774898 (patch)
tree956fda2d966a3f45ade61e61dbf1cf7ed65b0f63 /webkit/glue/webdropdata.cc
parent8708aa43fa34e36056f06d970dc7f1a5ebc48a87 (diff)
downloadchromium_src-04bf3ad5acb81f9e932449dabd19708826774898.zip
chromium_src-04bf3ad5acb81f9e932449dabd19708826774898.tar.gz
chromium_src-04bf3ad5acb81f9e932449dabd19708826774898.tar.bz2
FBTF: Move code from headers into cc files.
BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3219002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57732 0039d316-1c4b-4281-b951-d872f2087c98
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();