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

Unified Diff: webkit/glue/webdropdata.cc

Issue 3219002: FBTF: Move code from headers into cc files. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 4 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
Index: webkit/glue/webdropdata.cc
diff --git a/webkit/glue/webdropdata.cc b/webkit/glue/webdropdata.cc
index d46987a1c37f8eb777d82e2f1741bef8b807d1cf..ea9e6c660875bef08f5704caf1b4efafe8b2ec9b 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();

Powered by Google App Engine
This is Rietveld 408576698