| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2004, 2005, 2006, 2010 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2010 Apple Inc. All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 class HTMLFieldSetElement : public HTMLFormControlElement { | 35 class HTMLFieldSetElement : public HTMLFormControlElement { |
| 36 public: | 36 public: |
| 37 static Result<HTMLFieldSetElement> create(const QualifiedName&, Handle<Docum
ent>, HTMLFormElement*); | 37 static Result<HTMLFieldSetElement> create(const QualifiedName&, Handle<Docum
ent>, HTMLFormElement*); |
| 38 Result<HTMLLegendElement> legend() const; | 38 Result<HTMLLegendElement> legend() const; |
| 39 | 39 |
| 40 PassRefPtr<HTMLCollection> elements(); | 40 PassRefPtr<HTMLCollection> elements(); |
| 41 | 41 |
| 42 const Vector<FormAssociatedElement*>& associatedElements() const; | 42 const Vector<FormAssociatedElement*>& associatedElements() const; |
| 43 unsigned length() const; | 43 unsigned length() const; |
| 44 | 44 |
| 45 virtual void acceptHeapVisitor(Visitor*) const OVERRIDE; | |
| 46 | |
| 47 protected: | 45 protected: |
| 48 virtual void disabledAttributeChanged() OVERRIDE; | 46 virtual void disabledAttributeChanged() OVERRIDE; |
| 49 | 47 |
| 48 virtual void acceptHeapVisitor(Visitor*) const OVERRIDE; |
| 49 |
| 50 private: | 50 private: |
| 51 HTMLFieldSetElement(const QualifiedName&, Handle<Document>, HTMLFormElement*
); | 51 HTMLFieldSetElement(const QualifiedName&, Handle<Document>, HTMLFormElement*
); |
| 52 | 52 |
| 53 virtual bool isEnumeratable() const { return true; } | 53 virtual bool isEnumeratable() const { return true; } |
| 54 virtual bool supportsFocus() const; | 54 virtual bool supportsFocus() const; |
| 55 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); | 55 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); |
| 56 virtual const AtomicString& formControlType() const; | 56 virtual const AtomicString& formControlType() const; |
| 57 virtual bool recalcWillValidate() const { return false; } | 57 virtual bool recalcWillValidate() const { return false; } |
| 58 virtual void childrenChanged(bool changedByParser, Node* beforeChange, Node*
afterChange, int childCountDelta) OVERRIDE; | 58 virtual void childrenChanged(bool changedByParser, Node* beforeChange, Node*
afterChange, int childCountDelta) OVERRIDE; |
| 59 virtual bool areAuthorShadowsAllowed() const OVERRIDE { return false; } | 59 virtual bool areAuthorShadowsAllowed() const OVERRIDE { return false; } |
| 60 | 60 |
| 61 static void invalidateDisabledStateUnder(Element*); | 61 static void invalidateDisabledStateUnder(Element*); |
| 62 void refreshElementsIfNeeded() const; | 62 void refreshElementsIfNeeded() const; |
| 63 | 63 |
| 64 mutable Vector<FormAssociatedElement*> m_associatedElements; | 64 mutable Vector<FormAssociatedElement*> m_associatedElements; |
| 65 // When dom tree is modified, we have to refresh the m_associatedElements ar
ray. | 65 // When dom tree is modified, we have to refresh the m_associatedElements ar
ray. |
| 66 mutable uint64_t m_documentVersion; | 66 mutable uint64_t m_documentVersion; |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 } // namespace | 69 } // namespace |
| 70 | 70 |
| 71 #endif | 71 #endif |
| OLD | NEW |