diff options
Diffstat (limited to 'WebCore/html/HTMLOptGroupElement.h')
-rw-r--r-- | WebCore/html/HTMLOptGroupElement.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/WebCore/html/HTMLOptGroupElement.h b/WebCore/html/HTMLOptGroupElement.h index 85e789b..b161728 100644 --- a/WebCore/html/HTMLOptGroupElement.h +++ b/WebCore/html/HTMLOptGroupElement.h @@ -25,14 +25,15 @@ #define HTMLOptGroupElement_h #include "HTMLFormControlElement.h" +#include "OptionGroupElement.h" namespace WebCore { class HTMLSelectElement; -class HTMLOptGroupElement : public HTMLFormControlElement { +class HTMLOptGroupElement : public HTMLFormControlElement, public OptionGroupElement { public: - HTMLOptGroupElement(Document*, HTMLFormElement* = 0); + HTMLOptGroupElement(const QualifiedName&, Document*, HTMLFormElement* = 0); virtual bool checkDTD(const Node*); virtual const AtomicString& type() const; @@ -53,7 +54,7 @@ public: String label() const; void setLabel(const String&); - String groupLabelText() const; + virtual String groupLabelText() const; HTMLSelectElement* ownerSelectElement() const; virtual void accessKeyAction(bool sendToAnyElement); |