diff options
Diffstat (limited to 'WebKit/chromium/src/WebDragData.cpp')
-rw-r--r-- | WebKit/chromium/src/WebDragData.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/WebKit/chromium/src/WebDragData.cpp b/WebKit/chromium/src/WebDragData.cpp index 4af1119..3bd4a02 100644 --- a/WebKit/chromium/src/WebDragData.cpp +++ b/WebKit/chromium/src/WebDragData.cpp @@ -88,6 +88,18 @@ void WebDragData::setURLTitle(const WebString& urlTitle) m_private->urlTitle = urlTitle; } +WebURL WebDragData::downloadURL() const +{ + ASSERT(!isNull()); + return m_private->downloadURL; +} + +void WebDragData::setDownloadURL(const WebURL& downloadURL) +{ + ensureMutable(); + m_private->downloadURL = downloadURL; +} + WebString WebDragData::fileExtension() const { ASSERT(!isNull()); |