mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
make <tristatecheckbox> now be <checkbox>
This commit is contained in:
parent
d9cf4219c6
commit
0f3dc2e30c
@ -42,7 +42,6 @@ public:
|
||||
static nsIAtom* button;
|
||||
|
||||
static nsIAtom* checkbox;
|
||||
static nsIAtom* tristatecheckbox;
|
||||
static nsIAtom* spinner;
|
||||
static nsIAtom* scrollbar;
|
||||
static nsIAtom* slider;
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -42,7 +42,6 @@ public:
|
||||
static nsIAtom* button;
|
||||
|
||||
static nsIAtom* checkbox;
|
||||
static nsIAtom* tristatecheckbox;
|
||||
static nsIAtom* spinner;
|
||||
static nsIAtom* scrollbar;
|
||||
static nsIAtom* slider;
|
||||
|
Loading…
x
Reference in New Issue
Block a user