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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 unsigned length() const; | 43 unsigned length() const; |
44 | 44 |
45 protected: | 45 protected: |
46 virtual void disabledAttributeChanged() OVERRIDE; | 46 virtual void disabledAttributeChanged() OVERRIDE; |
47 | 47 |
48 private: | 48 private: |
49 HTMLFieldSetElement(const QualifiedName&, Document*, HTMLFormElement*); | 49 HTMLFieldSetElement(const QualifiedName&, Document*, HTMLFormElement*); |
50 | 50 |
51 virtual bool isEnumeratable() const { return true; } | 51 virtual bool isEnumeratable() const { return true; } |
52 virtual bool supportsFocus() const; | 52 virtual bool supportsFocus() const; |
53 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); | 53 virtual RenderObject* createRenderer(RenderStyle*); |
54 virtual const AtomicString& formControlType() const; | 54 virtual const AtomicString& formControlType() const; |
55 virtual bool recalcWillValidate() const { return false; } | 55 virtual bool recalcWillValidate() const { return false; } |
56 virtual void childrenChanged(bool changedByParser, Node* beforeChange, Node*
afterChange, int childCountDelta) OVERRIDE; | 56 virtual void childrenChanged(bool changedByParser, Node* beforeChange, Node*
afterChange, int childCountDelta) OVERRIDE; |
57 virtual bool areAuthorShadowsAllowed() const OVERRIDE { return false; } | 57 virtual bool areAuthorShadowsAllowed() const OVERRIDE { return false; } |
58 | 58 |
59 static void invalidateDisabledStateUnder(Element*); | 59 static void invalidateDisabledStateUnder(Element*); |
60 void refreshElementsIfNeeded() const; | 60 void refreshElementsIfNeeded() const; |
61 | 61 |
62 mutable Vector<FormAssociatedElement*> m_associatedElements; | 62 mutable Vector<FormAssociatedElement*> m_associatedElements; |
63 // When dom tree is modified, we have to refresh the m_associatedElements ar
ray. | 63 // When dom tree is modified, we have to refresh the m_associatedElements ar
ray. |
64 mutable uint64_t m_documentVersion; | 64 mutable uint64_t m_documentVersion; |
65 }; | 65 }; |
66 | 66 |
67 } // namespace | 67 } // namespace |
68 | 68 |
69 #endif | 69 #endif |
OLD | NEW |