removing unused xul frames, nsTitledButton and nsToolbarItemFrame. r=hyatt.

This commit is contained in:
pinkerton%netscape.com 2000-09-01 21:39:25 +00:00
Родитель b3fe8fea33
Коммит 18cb3313de
3 изменённых файлов: 0 добавлений и 46 удалений

Просмотреть файл

@ -190,9 +190,6 @@ NS_NewStackFrame ( nsIPresShell* aPresShell, nsIFrame** aNewFrame, nsIBoxLayout*
nsresult
NS_NewProgressMeterFrame ( nsIPresShell* aPresShell, nsIFrame** aNewFrame );
nsresult
NS_NewTitledButtonFrame ( nsIPresShell* aPresShell, nsIFrame** aNewFrame );
nsresult
NS_NewImageBoxFrame ( nsIPresShell* aPresShell, nsIFrame** aNewFrame );
@ -5691,18 +5688,6 @@ nsCSSFrameConstructor::ConstructXULFrame(nsIPresShell* aPresShell,
}
} // End of RESIZER CONSTRUCTION logic
// TITLED BUTTON CONSTRUCTION
else if (aTag == nsXULAtoms::titledbutton) {
processChildren = PR_TRUE;
isReplaced = PR_TRUE;
rv = NS_NewTitledButtonFrame(aPresShell, &newFrame);
}
// End of TITLED BUTTON CONSTRUCTION logic
else if (aTag == nsXULAtoms::image) {
processChildren = PR_TRUE;
isReplaced = PR_TRUE;
@ -5713,7 +5698,6 @@ nsCSSFrameConstructor::ConstructXULFrame(nsIPresShell* aPresShell,
isReplaced = PR_TRUE;
rv = NS_NewSpringFrame(aPresShell, &newFrame);
}
// End of TITLED BUTTON CONSTRUCTION logic
// TEXT CONSTRUCTION
else if (aTag == nsXULAtoms::text) {
@ -5964,12 +5948,6 @@ nsCSSFrameConstructor::ConstructXULFrame(nsIPresShell* aPresShell,
}
// End of TREE CONSTRUCTION code here (there's more later on in the function)
else if (aTag == nsXULAtoms::toolbaritem) {
processChildren = PR_TRUE;
rv = NS_NewToolbarItemFrame(aPresShell, &newFrame);
}
// End of TOOLBAR CONSTRUCTION logic
// PROGRESS METER CONSTRUCTION
else if (aTag == nsXULAtoms::progressbar) {
processChildren = PR_TRUE;
@ -9562,7 +9540,6 @@ nsCSSFrameConstructor::StyleChangeReflow(nsIPresContext* aPresContext,
nsIFrame* aFrame,
nsIAtom* aAttribute)
{
// Is it a box? If so we can coelesce.
nsresult rv;
nsCOMPtr<nsIBox> box = do_QueryInterface(aFrame, &rv);

Просмотреть файл

@ -190,9 +190,6 @@ NS_NewStackFrame ( nsIPresShell* aPresShell, nsIFrame** aNewFrame, nsIBoxLayout*
nsresult
NS_NewProgressMeterFrame ( nsIPresShell* aPresShell, nsIFrame** aNewFrame );
nsresult
NS_NewTitledButtonFrame ( nsIPresShell* aPresShell, nsIFrame** aNewFrame );
nsresult
NS_NewImageBoxFrame ( nsIPresShell* aPresShell, nsIFrame** aNewFrame );
@ -5691,18 +5688,6 @@ nsCSSFrameConstructor::ConstructXULFrame(nsIPresShell* aPresShell,
}
} // End of RESIZER CONSTRUCTION logic
// TITLED BUTTON CONSTRUCTION
else if (aTag == nsXULAtoms::titledbutton) {
processChildren = PR_TRUE;
isReplaced = PR_TRUE;
rv = NS_NewTitledButtonFrame(aPresShell, &newFrame);
}
// End of TITLED BUTTON CONSTRUCTION logic
else if (aTag == nsXULAtoms::image) {
processChildren = PR_TRUE;
isReplaced = PR_TRUE;
@ -5713,7 +5698,6 @@ nsCSSFrameConstructor::ConstructXULFrame(nsIPresShell* aPresShell,
isReplaced = PR_TRUE;
rv = NS_NewSpringFrame(aPresShell, &newFrame);
}
// End of TITLED BUTTON CONSTRUCTION logic
// TEXT CONSTRUCTION
else if (aTag == nsXULAtoms::text) {
@ -5964,12 +5948,6 @@ nsCSSFrameConstructor::ConstructXULFrame(nsIPresShell* aPresShell,
}
// End of TREE CONSTRUCTION code here (there's more later on in the function)
else if (aTag == nsXULAtoms::toolbaritem) {
processChildren = PR_TRUE;
rv = NS_NewToolbarItemFrame(aPresShell, &newFrame);
}
// End of TOOLBAR CONSTRUCTION logic
// PROGRESS METER CONSTRUCTION
else if (aTag == nsXULAtoms::progressbar) {
processChildren = PR_TRUE;
@ -9562,7 +9540,6 @@ nsCSSFrameConstructor::StyleChangeReflow(nsIPresContext* aPresContext,
nsIFrame* aFrame,
nsIAtom* aAttribute)
{
// Is it a box? If so we can coelesce.
nsresult rv;
nsCOMPtr<nsIBox> box = do_QueryInterface(aFrame, &rv);

Двоичные данные
layout/macbuild/layout.mcp

Двоичный файл не отображается.