Removing nsPluginViewer.cpp and friends, bug 195502, r=jkeiser, sr=alecf, a=asa

git-svn-id: svn://10.0.0.236/trunk@141776 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
peterlubczynski%netscape.com
2003-04-25 00:21:12 +00:00
parent 1fe4398d95
commit fa1fbae9a6
6 changed files with 13 additions and 116 deletions

View File

@@ -55,7 +55,6 @@
#include "nsScriptSecurityManager.h"
#include "nsDocumentCharsetInfoCID.h"
#include "nsICanvasFrame.h"
#include "nsIPluginViewer.h"
#include "nsContentPolicyUtils.h" // NS_CheckContentLoadPolicy(...)
#include "nsICategoryManager.h"
#include "nsXPCOMCID.h"
@@ -4605,17 +4604,6 @@ nsDocShell::NewContentViewerObj(const char *aContentType,
aViewer),
NS_ERROR_FAILURE);
nsCOMPtr<nsIPluginViewer> pv(do_QueryInterface(*aViewer));
if (pv) {
if (mName.EqualsIgnoreCase("messagepane")) {
NS_IF_RELEASE(*aViewer);
NS_IF_RELEASE(*aContentHandler);
return NS_ERROR_FAILURE;
}
else
SetTitle(nsnull); // clear title bar for full-page plugin
}
(*aViewer)->SetContainer(NS_STATIC_CAST(nsIContentViewerContainer *, this));
return NS_OK;
}