Skip to content
  • commit-queue@webkit.org's avatar
    [Blackberry] remove m_isRequestedByPlugin in ResourceRequest · af8ece6e
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=84559
    
    Patch by Chris Guan <chris.guan@torchmobile.com.cn> on 2012-05-08
    Reviewed by Antonio Gomes.
    
    Source/WebCore:
    
    ResourceRequest is a network level abstraction, and it should
    not know anything about web concepts such as plug-ins, and Blackberry
    does not need m_isRequestedByPlugin any longer, So clean up all related
    code.
    
    Tested on a website of http://edition.cnn.com, a new window should be
    opened only when user has a singe tap gesture on a plugin element.
    
    * platform/network/blackberry/ResourceRequest.h:
    (WebCore::ResourceRequest::ResourceRequest):
    (ResourceRequest):
    (CrossThreadResourceRequestData):
    * platform/network/blackberry/ResourceRequestBlackBerry.cpp:
    (WebCore::ResourceRequest::doPlatformCopyData):
    (WebCore::ResourceRequest::doPlatformAdopt):
    
    Source/WebKit/blackberry:
    
    * WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
    (WebCore::FrameLoaderClientBlackBerry::dispatchDecidePolicyForNewWindowAction):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116418 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    af8ece6e