Bug 45698. Land PLUGIN_LOVE_2000_07_17_BRANCH: implement XPCOM plugins. r=av

This commit is contained in:
waterson@netscape.com
2000-07-22 01:34:13 +00:00
parent 776088c21e
commit 9025a95ae1
41 changed files with 1700 additions and 3031 deletions

View File

@@ -42,6 +42,7 @@
#include "nsIDocShellTreeOwner.h"
#include "nsIWebBrowserChrome.h"
#include "nsIDOMDocument.h"
#include "nsPluginViewer.h"
// Class IDs
static NS_DEFINE_IID(kChildWindowCID, NS_CHILD_CID);
@@ -796,7 +797,7 @@ NS_IMETHODIMP pluginInstanceOwner :: CreateWidget(void)
}
else if (nsnull != mWindow)
{
mPluginWindow.window = (nsPluginPort *)mWindow->GetNativeData(NS_NATIVE_WINDOW);
mPluginWindow.window = (nsPluginPort *)mWindow->GetNativeData(NS_NATIVE_PLUGIN_PORT);
mPluginWindow.type = nsPluginWindowType_Window;
}
else