Changeset 54903 in webkit
- Timestamp:
- Feb 17, 2010 11:08:09 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r54901 r54903 1 2010-02-17 Jian Li <jianli@chromium.org> 2 3 Reviewed by Darin Fisher. 4 5 [chromium] Remove the obsolete chromium interface for handling DownloadURL. 6 https://bugs.webkit.org/show_bug.cgi?id=34982 7 8 * platform/chromium/ChromiumDataObject.cpp: 9 (WebCore::ChromiumDataObject::clear): 10 (WebCore::ChromiumDataObject::hasData): 11 (WebCore::ChromiumDataObject::ChromiumDataObject): 12 * platform/chromium/ChromiumDataObject.h: 13 * platform/chromium/ClipboardChromium.cpp: 14 (WebCore::ClipboardChromium::setData): 15 1 16 2010-02-17 Dan Bernstein <mitz@apple.com> 2 17 -
trunk/WebCore/platform/chromium/ChromiumDataObject.cpp
r54469 r54903 38 38 url = KURL(); 39 39 urlTitle = ""; 40 downloadURL = KURL();41 40 downloadMetadata = ""; 42 41 fileExtension = ""; … … 53 52 { 54 53 return !url.isEmpty() 55 || !downloadURL.isEmpty()56 54 || !downloadMetadata.isEmpty() 57 55 || !fileExtension.isEmpty() … … 65 63 : url(other.url) 66 64 , urlTitle(other.urlTitle) 67 , downloadURL(other.downloadURL)68 65 , downloadMetadata(other.downloadMetadata) 69 66 , fileExtension(other.fileExtension) -
trunk/WebCore/platform/chromium/ChromiumDataObject.h
r54469 r54903 60 60 String urlTitle; 61 61 62 KURL downloadURL;63 62 String downloadMetadata; 64 63 -
trunk/WebCore/platform/chromium/ClipboardChromium.cpp
r54523 r54903 162 162 if (winType == ClipboardDataTypeDownloadURL) { 163 163 m_dataObject->downloadMetadata = data; 164 KURL url = KURL(ParsedURLString, data);165 if (url.isValid())166 m_dataObject->downloadURL = url;167 164 return true; 168 165 } -
trunk/WebKit/chromium/ChangeLog
r54861 r54903 1 2010-02-17 Jian Li <jianli@chromium.org> 2 3 Reviewed by Darin Fisher. 4 5 [chromium] Remove the obsolete chromium interface for handling DownloadURL. 6 https://bugs.webkit.org/show_bug.cgi?id=34982 7 8 * public/WebDragData.h: 9 * src/WebDragData.cpp: 10 1 11 2010-02-16 James Hawkins <jhawkins@chromium.org> 2 12 -
trunk/WebKit/chromium/public/WebDragData.h
r54469 r54903 73 73 WEBKIT_API void setURLTitle(const WebString&); 74 74 75 WEBKIT_API WebURL downloadURL() const;76 WEBKIT_API void setDownloadURL(const WebURL&);77 75 WEBKIT_API WebString downloadMetadata() const; 78 76 WEBKIT_API void setDownloadMetadata(const WebString&); -
trunk/WebKit/chromium/src/WebDragData.cpp
r54469 r54903 89 89 } 90 90 91 WebURL WebDragData::downloadURL() const92 {93 ASSERT(!isNull());94 return m_private->downloadURL;95 }96 97 void WebDragData::setDownloadURL(const WebURL& downloadURL)98 {99 ensureMutable();100 m_private->downloadURL = downloadURL;101 }102 103 91 WebString WebDragData::downloadMetadata() const 104 92 {
Note: See TracChangeset
for help on using the changeset viewer.