summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/WebCore/html/HTMLOptionElement.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2009-06-15 09:06:43 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2009-06-15 09:31:31 (GMT)
commitc411f16870f112c3407c28c22b617f613a82cff4 (patch)
tree29a1bcd590c8b31af2aab445bfe8a978dc5bf582 /src/3rdparty/webkit/WebCore/html/HTMLOptionElement.h
parent3d77b56b32a0c53ec0bbfaa07236fedb900ff336 (diff)
downloadQt-c411f16870f112c3407c28c22b617f613a82cff4.zip
Qt-c411f16870f112c3407c28c22b617f613a82cff4.tar.gz
Qt-c411f16870f112c3407c28c22b617f613a82cff4.tar.bz2
Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit-4.6-snapshot-15062009 ( 65232bf00dc494ebfd978f998c88f58d18ecce1e )
Diffstat (limited to 'src/3rdparty/webkit/WebCore/html/HTMLOptionElement.h')
-rw-r--r--src/3rdparty/webkit/WebCore/html/HTMLOptionElement.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/3rdparty/webkit/WebCore/html/HTMLOptionElement.h b/src/3rdparty/webkit/WebCore/html/HTMLOptionElement.h
index 4b8238c..f13a802 100644
--- a/src/3rdparty/webkit/WebCore/html/HTMLOptionElement.h
+++ b/src/3rdparty/webkit/WebCore/html/HTMLOptionElement.h
@@ -24,6 +24,7 @@
#define HTMLOptionElement_h
#include "HTMLFormControlElement.h"
+#include "OptionElement.h"
namespace WebCore {
@@ -31,7 +32,7 @@ class HTMLSelectElement;
class HTMLFormElement;
class MappedAttribute;
-class HTMLOptionElement : public HTMLFormControlElement {
+class HTMLOptionElement : public HTMLFormControlElement, public OptionElement {
friend class HTMLSelectElement;
friend class RenderMenuList;
@@ -47,20 +48,20 @@ public:
virtual void detach();
virtual void setRenderStyle(PassRefPtr<RenderStyle>);
- virtual const AtomicString& type() const;
+ virtual const AtomicString& formControlType() const;
- String text() const;
+ virtual String text() const;
void setText(const String&, ExceptionCode&);
int index() const;
virtual void parseMappedAttribute(MappedAttribute*);
- String value() const;
+ virtual String value() const;
void setValue(const String&);
- bool selected() const { return m_selected; }
+ virtual bool selected() const;
void setSelected(bool);
- void setSelectedState(bool);
+ virtual void setSelectedState(bool);
HTMLSelectElement* ownerSelectElement() const;
@@ -71,19 +72,18 @@ public:
String label() const;
void setLabel(const String&);
-
- String optionText();
-
+
+ virtual String textIndentedToRespectGroupLabel() const;
+
virtual bool disabled() const;
- virtual void insertedIntoDocument();
+ virtual void insertedIntoTree(bool);
virtual void accessKeyAction(bool);
private:
virtual RenderStyle* nonRendererRenderStyle() const;
-
- String m_value;
- bool m_selected;
+
+ OptionElementData m_data;
RefPtr<RenderStyle> m_style;
};