summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/html/HTMLDetailsElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/HTMLDetailsElement.h')
-rw-r--r--Source/WebCore/html/HTMLDetailsElement.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/Source/WebCore/html/HTMLDetailsElement.h b/Source/WebCore/html/HTMLDetailsElement.h
index 45a9035..70ae9c6 100644
--- a/Source/WebCore/html/HTMLDetailsElement.h
+++ b/Source/WebCore/html/HTMLDetailsElement.h
@@ -29,19 +29,29 @@ class HTMLDetailsElement : public HTMLElement {
public:
static PassRefPtr<HTMLDetailsElement> create(const QualifiedName& tagName, Document* document);
Node* mainSummary() const { return m_mainSummary; }
+ void toggleOpen();
private:
+ enum RefreshRenderer {
+ RefreshRendererAllowed,
+ RefreshRendererSupressed,
+ };
+
HTMLDetailsElement(const QualifiedName&, Document*);
virtual RenderObject* createRenderer(RenderArena*, RenderStyle*);
virtual void childrenChanged(bool changedByParser, Node* beforeChange, Node* afterChange, int childCountDelta);
virtual void finishParsingChildren();
+ virtual bool canHaveLightChildRendererWithShadow() const { return true; }
void parseMappedAttribute(Attribute*);
bool childShouldCreateRenderer(Node*) const;
- void defaultEventHandler(Event*);
- void findMainSummary();
+ Node* findSummaryFor(ContainerNode*);
+ Node* findMainSummary();
+ void refreshMainSummary(RefreshRenderer);
+
+ void createShadowSubtree();
Node* m_mainSummary;
bool m_isOpen;