-
jhoneycutt@apple.com authored
Part of <rdar://problem/7273354> Halted plug-ins should restart on mouseover https://bugs.webkit.org/show_bug.cgi?id=30151 Reviewed by Kevin Decker. * Interfaces/IWebViewPrivate.idl: Add restartHaltedPluginForNode(). * WebView.cpp: (WebView::restartHaltedPluginForNode): From the IDOMNode, query for the DOMNode. From the DOMNode, get the WebCore::Node. Get the node's renderer, and check whether it is a RenderWidget. If so, get its Widget, and check whether it's a PluginView. If so, call PluginView::restart(). * WebView.h: Declare restartHaltedPluginForNode(). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49699 268f45cc-cd09-0410-ab3c-d52691b4dbfc
0bf4912d