summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorjianli@chromium.org <jianli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-10 00:00:32 +0000
committerjianli@chromium.org <jianli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-10 00:00:32 +0000
commit8af9d0341d6c00ee537adc089f938b120d1d8d34 (patch)
tree334fcf5a09c2b3e12face9d46ae4f25ee62921eb /webkit
parent8d292399e6dcdfa776a1de94da07841bf1487f5b (diff)
downloadchromium_src-8af9d0341d6c00ee537adc089f938b120d1d8d34.zip
chromium_src-8af9d0341d6c00ee537adc089f938b120d1d8d34.tar.gz
chromium_src-8af9d0341d6c00ee537adc089f938b120d1d8d34.tar.bz2
Refactor DragDownloadFile so that it can be used by both Windows and MacOSX.
BUG=none TEST=none Review URL: http://codereview.chromium.org/572014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38545 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/glue/webdropdata.cc2
-rw-r--r--webkit/glue/webdropdata.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/webkit/glue/webdropdata.cc b/webkit/glue/webdropdata.cc
index bf2de89..d46987a 100644
--- a/webkit/glue/webdropdata.cc
+++ b/webkit/glue/webdropdata.cc
@@ -19,7 +19,7 @@ WebDropData::WebDropData(const WebDragData& drag_data)
: identity(0),
url(drag_data.url()),
url_title(drag_data.urlTitle()),
- download_url(drag_data.downloadURL()),
+ download_metadata(drag_data.downloadMetadata()),
file_extension(drag_data.fileExtension()),
plain_text(drag_data.plainText()),
text_html(drag_data.htmlText()),
diff --git a/webkit/glue/webdropdata.h b/webkit/glue/webdropdata.h
index 96edfea..8149d8e 100644
--- a/webkit/glue/webdropdata.h
+++ b/webkit/glue/webdropdata.h
@@ -39,7 +39,7 @@ struct WebDropData {
string16 url_title; // The title associated with |url|.
// User is dragging a link out-of the webview.
- GURL download_url;
+ string16 download_metadata;
// File extension for dragging images from a webview to the desktop.
string16 file_extension;