Removing commented out code.

This commit is contained in:
hyatt%netscape.com 2000-08-23 00:53:50 +00:00
parent 3280667d72
commit b46db12741
2 changed files with 0 additions and 90 deletions

View File

@ -5961,51 +5961,6 @@ nsCSSFrameConstructor::ConstructXULFrame(nsIPresShell* aPresShell,
}
// End of TREE CONSTRUCTION code here (there's more later on in the function)
// // TOOLBAR CONSTRUCTION
// else if (aTag == nsXULAtoms::toolbox) {
// processChildren = PR_TRUE;
// rv = NS_NewToolboxFrame(aPresShell, &newFrame);
// const nsStyleDisplay* display = (const nsStyleDisplay*)
// aStyleContext->GetStyleData(eStyleStruct_Display);
// if (IsScrollable(aPresContext, display)) {
// // build the scrollframe
// // set the top to be the newly created scrollframe
// BuildScrollFrame(aPresShell, aPresContext, aState, aContent, aStyleContext, newFrame, aParentFrame,
// topFrame, aStyleContext);
// // we have a scrollframe so the parent becomes the scroll frame.
// newFrame->GetParent(&aParentFrame);
// primaryFrameSet = PR_TRUE;
// frameHasBeenInitialized = PR_TRUE;
// }
// }
// else if (aTag == nsXULAtoms::toolbar) {
// processChildren = PR_TRUE;
// rv = NS_NewToolbarFrame(aPresShell, &newFrame);
// const nsStyleDisplay* display = (const nsStyleDisplay*)
// aStyleContext->GetStyleData(eStyleStruct_Display);
// if (IsScrollable(aPresContext, display)) {
// // set the top to be the newly created scrollframe
// BuildScrollFrame(aPresShell, aPresContext, aState, aContent, aStyleContext, newFrame, aParentFrame,
// topFrame, aStyleContext);
// // we have a scrollframe so the parent becomes the scroll frame.
// newFrame->GetParent(&aParentFrame);
// primaryFrameSet = PR_TRUE;
// frameHasBeenInitialized = PR_TRUE;
// }
// }
else if (aTag == nsXULAtoms::toolbaritem) {
processChildren = PR_TRUE;
rv = NS_NewToolbarItemFrame(aPresShell, &newFrame);

View File

@ -5961,51 +5961,6 @@ nsCSSFrameConstructor::ConstructXULFrame(nsIPresShell* aPresShell,
}
// End of TREE CONSTRUCTION code here (there's more later on in the function)
// // TOOLBAR CONSTRUCTION
// else if (aTag == nsXULAtoms::toolbox) {
// processChildren = PR_TRUE;
// rv = NS_NewToolboxFrame(aPresShell, &newFrame);
// const nsStyleDisplay* display = (const nsStyleDisplay*)
// aStyleContext->GetStyleData(eStyleStruct_Display);
// if (IsScrollable(aPresContext, display)) {
// // build the scrollframe
// // set the top to be the newly created scrollframe
// BuildScrollFrame(aPresShell, aPresContext, aState, aContent, aStyleContext, newFrame, aParentFrame,
// topFrame, aStyleContext);
// // we have a scrollframe so the parent becomes the scroll frame.
// newFrame->GetParent(&aParentFrame);
// primaryFrameSet = PR_TRUE;
// frameHasBeenInitialized = PR_TRUE;
// }
// }
// else if (aTag == nsXULAtoms::toolbar) {
// processChildren = PR_TRUE;
// rv = NS_NewToolbarFrame(aPresShell, &newFrame);
// const nsStyleDisplay* display = (const nsStyleDisplay*)
// aStyleContext->GetStyleData(eStyleStruct_Display);
// if (IsScrollable(aPresContext, display)) {
// // set the top to be the newly created scrollframe
// BuildScrollFrame(aPresShell, aPresContext, aState, aContent, aStyleContext, newFrame, aParentFrame,
// topFrame, aStyleContext);
// // we have a scrollframe so the parent becomes the scroll frame.
// newFrame->GetParent(&aParentFrame);
// primaryFrameSet = PR_TRUE;
// frameHasBeenInitialized = PR_TRUE;
// }
// }
else if (aTag == nsXULAtoms::toolbaritem) {
processChildren = PR_TRUE;
rv = NS_NewToolbarItemFrame(aPresShell, &newFrame);