Skip to content
  • kdecker@apple.com's avatar
    Reviewed by Anders. · d3098acc
    kdecker@apple.com authored
            <rdar://problem/7273354> 
    
            * Plugins/WebBaseNetscapePluginView.h: Added _isHalted ivar and three new methods: -halt, -resumeFromHalt, and -isHalted
            * Plugins/WebBaseNetscapePluginView.mm:
            (WebHaltablePlugin::halt): Call -halt instead of -stop.  
            (WebHaltablePlugin::restart):Call -resumeFromHalt instead of -start. 
            (-[WebBaseNetscapePluginView halt]): Added. Stop the plug-in, update _isHalted.
            (-[WebBaseNetscapePluginView resumeFromHalt]): Added. Start the plug-in, update _isHalted.
            (-[WebBaseNetscapePluginView isHalted]): Added.
            * WebView/WebView.mm:
            (-[WebView _isNodeHaltedPlugin:]): Added. Queries a DOMNode to determine if it's a halted plug-in.
            * WebView/WebViewPrivate.h: Added _isNodeHaltedPlugin.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49689 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    d3098acc