Index: Source/WebCore/dom/CheckedRadioButtons.h |
=================================================================== |
--- Source/WebCore/dom/CheckedRadioButtons.h (revision 111481) |
+++ Source/WebCore/dom/CheckedRadioButtons.h (working copy) |
@@ -28,24 +28,16 @@ |
namespace WebCore { |
class HTMLInputElement; |
-class RadioButtonGroup; |
-// FIXME: Rename the class. The class was a simple map from a name to a checked |
-// radio button. It manages RadioButtonGroup objects now. |
class CheckedRadioButtons { |
public: |
- CheckedRadioButtons(); |
- ~CheckedRadioButtons(); |
void addButton(HTMLInputElement*); |
- void updateCheckedState(HTMLInputElement*); |
- void requiredAttributeChanged(HTMLInputElement*); |
void removeButton(HTMLInputElement*); |
HTMLInputElement* checkedButtonForGroup(const AtomicString& groupName) const; |
- bool isInRequiredGroup(HTMLInputElement*) const; |
private: |
- typedef HashMap<AtomicStringImpl*, OwnPtr<RadioButtonGroup> > NameToGroupMap; |
- OwnPtr<NameToGroupMap> m_nameToGroupMap; |
+ typedef HashMap<AtomicStringImpl*, HTMLInputElement*> NameToInputMap; |
+ OwnPtr<NameToInputMap> m_nameToCheckedRadioButtonMap; |
}; |
} // namespace WebCore |