зеркало из https://github.com/mozilla/gecko-dev.git
Adding support for the widget tag to XUL.
This commit is contained in:
Родитель
4672f50061
Коммит
32b7e34970
|
@ -1847,6 +1847,8 @@ HTMLStyleSheetImpl::ConstructXULFrame(nsIPresContext* aPresContext,
|
||||||
rv = NS_NewRadioControlFrame(aNewFrame);
|
rv = NS_NewRadioControlFrame(aNewFrame);
|
||||||
else if (aTag == nsXULAtoms::text)
|
else if (aTag == nsXULAtoms::text)
|
||||||
rv = NS_NewTextControlFrame(aNewFrame);
|
rv = NS_NewTextControlFrame(aNewFrame);
|
||||||
|
else if (aTag == nsXULAtoms::widget)
|
||||||
|
rv = NS_NewObjectFrame(aNewFrame);
|
||||||
}
|
}
|
||||||
|
|
||||||
// If we succeeded in creating a frame then initialize it, process its
|
// If we succeeded in creating a frame then initialize it, process its
|
||||||
|
|
|
@ -1847,6 +1847,8 @@ HTMLStyleSheetImpl::ConstructXULFrame(nsIPresContext* aPresContext,
|
||||||
rv = NS_NewRadioControlFrame(aNewFrame);
|
rv = NS_NewRadioControlFrame(aNewFrame);
|
||||||
else if (aTag == nsXULAtoms::text)
|
else if (aTag == nsXULAtoms::text)
|
||||||
rv = NS_NewTextControlFrame(aNewFrame);
|
rv = NS_NewTextControlFrame(aNewFrame);
|
||||||
|
else if (aTag == nsXULAtoms::widget)
|
||||||
|
rv = NS_NewObjectFrame(aNewFrame);
|
||||||
}
|
}
|
||||||
|
|
||||||
// If we succeeded in creating a frame then initialize it, process its
|
// If we succeeded in creating a frame then initialize it, process its
|
||||||
|
|
|
@ -1847,6 +1847,8 @@ HTMLStyleSheetImpl::ConstructXULFrame(nsIPresContext* aPresContext,
|
||||||
rv = NS_NewRadioControlFrame(aNewFrame);
|
rv = NS_NewRadioControlFrame(aNewFrame);
|
||||||
else if (aTag == nsXULAtoms::text)
|
else if (aTag == nsXULAtoms::text)
|
||||||
rv = NS_NewTextControlFrame(aNewFrame);
|
rv = NS_NewTextControlFrame(aNewFrame);
|
||||||
|
else if (aTag == nsXULAtoms::widget)
|
||||||
|
rv = NS_NewObjectFrame(aNewFrame);
|
||||||
}
|
}
|
||||||
|
|
||||||
// If we succeeded in creating a frame then initialize it, process its
|
// If we succeeded in creating a frame then initialize it, process its
|
||||||
|
|
Загрузка…
Ссылка в новой задаче