make <tristatecheckbox> now be <checkbox>

This commit is contained in:
pinkerton%netscape.com 1999-05-06 00:53:22 +00:00
parent d9cf4219c6
commit 0f3dc2e30c
6 changed files with 0 additions and 14 deletions

View File

@ -42,7 +42,6 @@ public:
static nsIAtom* button;
static nsIAtom* checkbox;
static nsIAtom* tristatecheckbox;
static nsIAtom* spinner;
static nsIAtom* scrollbar;
static nsIAtom* slider;

View File

@ -27,7 +27,6 @@ static const char kXULNameSpace[] = "http://www.mozilla.org/keymaster/gatekeeper
PRInt32 nsXULAtoms::nameSpaceID;
nsIAtom* nsXULAtoms::button;
nsIAtom* nsXULAtoms::checkbox;
nsIAtom* nsXULAtoms::tristatecheckbox;
nsIAtom* nsXULAtoms::spinner;
nsIAtom* nsXULAtoms::scrollbar;
nsIAtom* nsXULAtoms::slider;
@ -86,7 +85,6 @@ void nsXULAtoms::AddrefAtoms() {
// now register the atoms
button = NS_NewAtom("button");
checkbox = NS_NewAtom("checkbox");
tristatecheckbox = NS_NewAtom("tristatecheckbox");
spinner = NS_NewAtom("spinner");
scrollbar = NS_NewAtom("scrollbar");
slider = NS_NewAtom("slider");
@ -136,7 +134,6 @@ void nsXULAtoms::ReleaseAtoms() {
if (--gRefCnt == 0) {
NS_RELEASE(button);
NS_RELEASE(checkbox);
NS_RELEASE(tristatecheckbox);
NS_RELEASE(spinner);
NS_RELEASE(slider);
NS_RELEASE(scrollbar);

View File

@ -1669,7 +1669,6 @@ nsCSSFrameConstructor::TableIsValidCellContent(nsIPresContext* aPresContext,
if ( (nsXULAtoms::button == tag.get()) ||
(nsXULAtoms::titledbutton == tag.get()) ||
(nsXULAtoms::checkbox == tag.get()) ||
(nsXULAtoms::tristatecheckbox == tag.get()) ||
(nsXULAtoms::slider == tag.get()) ||
(nsXULAtoms::spinner == tag.get()) ||
(nsXULAtoms::scrollbar == tag.get()) ||
@ -2614,8 +2613,6 @@ nsCSSFrameConstructor::ConstructXULFrame(nsIPresContext* aPresContext,
if (aTag == nsXULAtoms::button)
rv = NS_NewButtonControlFrame(newFrame);
else if (aTag == nsXULAtoms::checkbox)
rv = NS_NewCheckboxControlFrame(newFrame);
else if (aTag == nsXULAtoms::tristatecheckbox)
rv = NS_NewTriStateCheckboxFrame(newFrame);
else if (aTag == nsXULAtoms::slider)
rv = NS_NewSliderFrame(newFrame);

View File

@ -1669,7 +1669,6 @@ nsCSSFrameConstructor::TableIsValidCellContent(nsIPresContext* aPresContext,
if ( (nsXULAtoms::button == tag.get()) ||
(nsXULAtoms::titledbutton == tag.get()) ||
(nsXULAtoms::checkbox == tag.get()) ||
(nsXULAtoms::tristatecheckbox == tag.get()) ||
(nsXULAtoms::slider == tag.get()) ||
(nsXULAtoms::spinner == tag.get()) ||
(nsXULAtoms::scrollbar == tag.get()) ||
@ -2614,8 +2613,6 @@ nsCSSFrameConstructor::ConstructXULFrame(nsIPresContext* aPresContext,
if (aTag == nsXULAtoms::button)
rv = NS_NewButtonControlFrame(newFrame);
else if (aTag == nsXULAtoms::checkbox)
rv = NS_NewCheckboxControlFrame(newFrame);
else if (aTag == nsXULAtoms::tristatecheckbox)
rv = NS_NewTriStateCheckboxFrame(newFrame);
else if (aTag == nsXULAtoms::slider)
rv = NS_NewSliderFrame(newFrame);

View File

@ -27,7 +27,6 @@ static const char kXULNameSpace[] = "http://www.mozilla.org/keymaster/gatekeeper
PRInt32 nsXULAtoms::nameSpaceID;
nsIAtom* nsXULAtoms::button;
nsIAtom* nsXULAtoms::checkbox;
nsIAtom* nsXULAtoms::tristatecheckbox;
nsIAtom* nsXULAtoms::spinner;
nsIAtom* nsXULAtoms::scrollbar;
nsIAtom* nsXULAtoms::slider;
@ -86,7 +85,6 @@ void nsXULAtoms::AddrefAtoms() {
// now register the atoms
button = NS_NewAtom("button");
checkbox = NS_NewAtom("checkbox");
tristatecheckbox = NS_NewAtom("tristatecheckbox");
spinner = NS_NewAtom("spinner");
scrollbar = NS_NewAtom("scrollbar");
slider = NS_NewAtom("slider");
@ -136,7 +134,6 @@ void nsXULAtoms::ReleaseAtoms() {
if (--gRefCnt == 0) {
NS_RELEASE(button);
NS_RELEASE(checkbox);
NS_RELEASE(tristatecheckbox);
NS_RELEASE(spinner);
NS_RELEASE(slider);
NS_RELEASE(scrollbar);

View File

@ -42,7 +42,6 @@ public:
static nsIAtom* button;
static nsIAtom* checkbox;
static nsIAtom* tristatecheckbox;
static nsIAtom* spinner;
static nsIAtom* scrollbar;
static nsIAtom* slider;