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 16 matching lines...) Expand all Loading... |
27 #include "core/html/HTMLFormControlElement.h" | 27 #include "core/html/HTMLFormControlElement.h" |
28 | 28 |
29 namespace blink { | 29 namespace blink { |
30 | 30 |
31 class HTMLFormControlsCollection; | 31 class HTMLFormControlsCollection; |
32 | 32 |
33 class HTMLFieldSetElement final : public HTMLFormControlElement { | 33 class HTMLFieldSetElement final : public HTMLFormControlElement { |
34 DEFINE_WRAPPERTYPEINFO(); | 34 DEFINE_WRAPPERTYPEINFO(); |
35 public: | 35 public: |
36 static PassRefPtrWillBeRawPtr<HTMLFieldSetElement> create(Document&, HTMLFor
mElement*); | 36 static PassRefPtrWillBeRawPtr<HTMLFieldSetElement> create(Document&, HTMLFor
mElement*); |
37 virtual void trace(Visitor*) override; | 37 DECLARE_VIRTUAL_TRACE(); |
38 HTMLLegendElement* legend() const; | 38 HTMLLegendElement* legend() const; |
39 | 39 |
40 PassRefPtrWillBeRawPtr<HTMLFormControlsCollection> elements(); | 40 PassRefPtrWillBeRawPtr<HTMLFormControlsCollection> elements(); |
41 | 41 |
42 const FormAssociatedElement::List& associatedElements() const; | 42 const FormAssociatedElement::List& associatedElements() const; |
43 | 43 |
44 void setNeedsValidityCheck(); | 44 void setNeedsValidityCheck(); |
45 | 45 |
46 protected: | 46 protected: |
47 virtual void disabledAttributeChanged() override; | 47 virtual void disabledAttributeChanged() override; |
(...skipping 15 matching lines...) Expand all Loading... |
63 void refreshElementsIfNeeded() const; | 63 void refreshElementsIfNeeded() const; |
64 | 64 |
65 mutable FormAssociatedElement::List m_associatedElements; | 65 mutable FormAssociatedElement::List m_associatedElements; |
66 // When dom tree is modified, we have to refresh the m_associatedElements ar
ray. | 66 // When dom tree is modified, we have to refresh the m_associatedElements ar
ray. |
67 mutable uint64_t m_documentVersion; | 67 mutable uint64_t m_documentVersion; |
68 }; | 68 }; |
69 | 69 |
70 } // namespace blink | 70 } // namespace blink |
71 | 71 |
72 #endif // HTMLFieldSetElement_h | 72 #endif // HTMLFieldSetElement_h |
OLD | NEW |