Changeset 62668 in webkit


Ignore:
Timestamp:
Jul 7, 2010 8:01:10 AM (14 years ago)
Author:
commit-queue@webkit.org
Message:

2010-07-07 Kristian Monsen <kristianm@google.com>

Reviewed by Steve Block.

Updating Android to use the UserGestureIndicator class instead of Android specific code.
The rest of the changes are in parts of the Android port which are yet to be upstreamed.

No change in behavior, so no new test.

  • platform/network/android/ResourceRequest.h: (WebCore::ResourceRequest::ResourceRequest): (WebCore::ResourceRequest::doUpdateResourceRequest):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r62664 r62668  
     12010-07-07  Kristian Monsen  <kristianm@google.com>
     2
     3        Reviewed by Steve Block.
     4
     5        Updating Android to use the UserGestureIndicator class instead of Android specific code.
     6        The rest of the changes are in parts of the Android port which are yet to be upstreamed.
     7
     8        No change in behavior, so no new test.
     9
     10        * platform/network/android/ResourceRequest.h:
     11        (WebCore::ResourceRequest::ResourceRequest):
     12        (WebCore::ResourceRequest::doUpdateResourceRequest):
     13
    1142010-07-07  Andy Estes  <aestes@apple.com>
    215
  • trunk/WebCore/platform/network/android/ResourceRequest.h

    r52105 r62668  
    3737public:
    3838    ResourceRequest(const String& url)
    39         : ResourceRequestBase(KURL(ParsedURLString, url), UseProtocolCachePolicy), m_userGesture(true) { }
     39        : ResourceRequestBase(KURL(ParsedURLString, url), UseProtocolCachePolicy) { }
    4040
    41     ResourceRequest(const KURL& url) : ResourceRequestBase(url, UseProtocolCachePolicy) , m_userGesture(true) { }
     41    ResourceRequest(const KURL& url) : ResourceRequestBase(url, UseProtocolCachePolicy) { }
    4242
    4343    ResourceRequest(const KURL& url, const String& referrer, ResourceRequestCachePolicy policy = UseProtocolCachePolicy)
    44         : ResourceRequestBase(url, policy) , m_userGesture(true)
     44        : ResourceRequestBase(url, policy)
    4545    {
    4646        setHTTPReferrer(referrer);
    4747    }
    4848
    49     ResourceRequest() : ResourceRequestBase(KURL(), UseProtocolCachePolicy), m_userGesture(true) { }
     49    ResourceRequest() : ResourceRequestBase(KURL(), UseProtocolCachePolicy) { }
    5050
    5151    void doUpdatePlatformRequest() { }
    5252    void doUpdateResourceRequest() { }
    53     void setUserGesture(bool userGesture) { m_userGesture = userGesture; }
    54     bool getUserGesture() const { return m_userGesture; }
    5553
    5654private:
    5755    friend class ResourceRequestBase;
    58     bool m_userGesture;
    5956};
    6057
Note: See TracChangeset for help on using the changeset viewer.