Changeset 54903 in webkit


Ignore:
Timestamp:
Feb 17, 2010 11:08:09 AM (14 years ago)
Author:
jianli@chromium.org
Message:

[chromium] Remove the obsolete chromium interface for handling DownloadURL.
https://bugs.webkit.org/show_bug.cgi?id=34982

Reviewed by Darin Fisher.

WebCore:

  • platform/chromium/ChromiumDataObject.cpp:

(WebCore::ChromiumDataObject::clear):
(WebCore::ChromiumDataObject::hasData):
(WebCore::ChromiumDataObject::ChromiumDataObject):

  • platform/chromium/ChromiumDataObject.h:
  • platform/chromium/ClipboardChromium.cpp:

(WebCore::ClipboardChromium::setData):

WebKit/chromium:

  • public/WebDragData.h:
  • src/WebDragData.cpp:
Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r54901 r54903  
     12010-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
    1162010-02-17  Dan Bernstein  <mitz@apple.com>
    217
  • trunk/WebCore/platform/chromium/ChromiumDataObject.cpp

    r54469 r54903  
    3838    url = KURL();
    3939    urlTitle = "";
    40     downloadURL = KURL();
    4140    downloadMetadata = "";
    4241    fileExtension = "";
     
    5352{
    5453    return !url.isEmpty()
    55         || !downloadURL.isEmpty()
    5654        || !downloadMetadata.isEmpty()
    5755        || !fileExtension.isEmpty()
     
    6563    : url(other.url)
    6664    , urlTitle(other.urlTitle)
    67     , downloadURL(other.downloadURL)
    6865    , downloadMetadata(other.downloadMetadata)
    6966    , fileExtension(other.fileExtension)
  • trunk/WebCore/platform/chromium/ChromiumDataObject.h

    r54469 r54903  
    6060        String urlTitle;
    6161
    62         KURL downloadURL;
    6362        String downloadMetadata;
    6463
  • trunk/WebCore/platform/chromium/ClipboardChromium.cpp

    r54523 r54903  
    162162    if (winType == ClipboardDataTypeDownloadURL) {
    163163        m_dataObject->downloadMetadata = data;
    164         KURL url = KURL(ParsedURLString, data);
    165         if (url.isValid())
    166             m_dataObject->downloadURL = url;
    167164        return true;
    168165    }
  • trunk/WebKit/chromium/ChangeLog

    r54861 r54903  
     12010-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
    1112010-02-16  James Hawkins  <jhawkins@chromium.org>
    212
  • trunk/WebKit/chromium/public/WebDragData.h

    r54469 r54903  
    7373    WEBKIT_API void setURLTitle(const WebString&);
    7474
    75     WEBKIT_API WebURL downloadURL() const;
    76     WEBKIT_API void setDownloadURL(const WebURL&);
    7775    WEBKIT_API WebString downloadMetadata() const;
    7876    WEBKIT_API void setDownloadMetadata(const WebString&);
  • trunk/WebKit/chromium/src/WebDragData.cpp

    r54469 r54903  
    8989}
    9090
    91 WebURL WebDragData::downloadURL() const
    92 {
    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 
    10391WebString WebDragData::downloadMetadata() const
    10492{
Note: See TracChangeset for help on using the changeset viewer.