removing unused xul frames, nsTitledButton and nsToolbarItemFrame. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@77925 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
d05c791192
commit
cd93ce4e9e
@ -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);
|
||||
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user