• andersca@apple.com's avatar
    2009-04-28 Anders Carlsson <andersca@apple.com> · 4df7b531
    andersca@apple.com authored
            Reviewed by Kevin Decker and Darin Adler.
    
            Fix <rdar://problem/6836132>.
            
            * Plugins/Hosted/NetscapePluginHostProxy.mm:
            (WKPCCheckIfAllowedToLoadURL):
            Call the instance proxy.
            
            (WKPCCancelCheckIfAllowedToLoadURL):
            Ditto.
            
            * Plugins/Hosted/NetscapePluginInstanceProxy.h:
            * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
            (WebKit::NetscapePluginInstanceProxy::NetscapePluginInstanceProxy):
            Initialize the check ID counter.
            
            (WebKit::NetscapePluginInstanceProxy::checkIfAllowedToLoadURL):
            Create a WebPluginContainerCheck, add it to the map, and start it.
            
            (WebKit::NetscapePluginInstanceProxy::cancelCheckIfAllowedToLoadURL):
            Remove the check from the map.
            
            (WebKit::NetscapePluginInstanceProxy::checkIfAllowedToLoadURLResult):
            Call the WKPH MIG callback.
            
            * Plugins/Hosted/WebHostedNetscapePluginView.h:
            * Plugins/Hosted/WebHostedNetscapePluginView.mm:
            (-[WebHostedNetscapePluginView _webPluginContainerCancelCheckIfAllowedToLoadRequest:]):
            Call the instance proxy.
            
            (-[WebHostedNetscapePluginView _containerCheckResult:contextInfo:]):
            Ditto.
            
            * Plugins/Hosted/WebKitPluginClient.defs:
            * Plugins/Hosted/WebKitPluginHost.defs:
            Add MIG declarations.
    
    
    
    git-svn-id: svn://svn.chromium.org/blink/trunk@42965 bbb929c8-8fbe-4397-9dbb-9b2b20218538
    4df7b531
NetscapePluginHostProxy.mm 35.7 KB