-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=41960 Reviewed by Simon Fraser. WebCore: * WebCore.exp.in: Export ScrollView::contentsToWindow. WebKit2: * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp: Handle NPNVsupportsCoreGraphicsBool and NPNVsupportsCocoaBool. * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: (WebKit::NetscapePlugin::NetscapePlugin): Set npp.ndata. (WebKit::NetscapePlugin::initialize): Try to instantiate the plug-in by calling NPP_New. * WebProcess/Plugins/Netscape/NetscapePlugin.h: Store the NetscapePluginModule and the NPP struct. * WebProcess/Plugins/Netscape/NetscapePluginModule.h: Add a getter for the NPPluginFuncs vtable. * WebProcess/Plugins/PluginView.cpp: (WebKit::PluginView::frameRectsChanged): Make sure to call viewGeometryDidChange. (WebKit::PluginView::setParent): Ditto. (WebKit::PluginView::viewGeometryDidChange): Convert the frame rect to window coordinates and pass it to the plug-in. * WebProcess/Plugins/PluginView.h: Add function declarations. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62964 268f45cc-cd09-0410-ab3c-d52691b4dbfc
037d9b4a