Bug 267302 Views should be created by the view manager r+sr=roc

This commit is contained in:
neil@parkwaycc.co.uk
2004-11-04 15:06:50 +00:00
parent 29e8a2c5e4
commit 524edd3289
27 changed files with 158 additions and 245 deletions

View File

@@ -133,8 +133,6 @@
// view stuff
#include "nsViewsCID.h"
#include "nsView.h"
#include "nsScrollPortView.h"
#include "nsViewManager.h"
#include "nsContentCreatorFunctions.h"
#include "nsFrame.h"
@@ -640,8 +638,6 @@ _InstanceClass##Constructor(nsISupports *aOuter, REFNSIID aIID, \
} \
NS_GENERIC_FACTORY_CONSTRUCTOR(nsViewManager)
NS_GENERIC_FACTORY_CONSTRUCTOR_NOREFS(nsView)
NS_GENERIC_FACTORY_CONSTRUCTOR_NOREFS(nsScrollPortView)
static NS_IMETHODIMP
CreateHTMLImgElement(nsISupports* aOuter, REFNSIID aIID, void** aResult)
@@ -1306,9 +1302,6 @@ static const nsModuleComponentInfo gComponents[] = {
// view stuff
{ "View Manager", NS_VIEW_MANAGER_CID, "@mozilla.org/view-manager;1",
nsViewManagerConstructor },
{ "View", NS_VIEW_CID, "@mozilla.org/view;1", nsViewConstructor },
{ "Scroll Port View", NS_SCROLL_PORT_VIEW_CID,
"@mozilla.org/scroll-port-view;1", nsScrollPortViewConstructor },
{ "Plugin Document Loader Factory",
NS_PLUGINDOCLOADERFACTORY_CID,