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 10 matching lines...) Expand all Loading... |
21 * | 21 * |
22 */ | 22 */ |
23 | 23 |
24 #ifndef HTMLFieldSetElement_h | 24 #ifndef HTMLFieldSetElement_h |
25 #define HTMLFieldSetElement_h | 25 #define HTMLFieldSetElement_h |
26 | 26 |
27 #include "core/html/HTMLFormControlElement.h" | 27 #include "core/html/HTMLFormControlElement.h" |
28 | 28 |
29 namespace blink { | 29 namespace blink { |
30 | 30 |
31 class FormAssociatedElement; | |
32 class HTMLFormControlsCollection; | 31 class HTMLFormControlsCollection; |
33 | 32 |
34 class HTMLFieldSetElement final : public HTMLFormControlElement { | 33 class HTMLFieldSetElement final : public HTMLFormControlElement { |
35 DEFINE_WRAPPERTYPEINFO(); | 34 DEFINE_WRAPPERTYPEINFO(); |
36 public: | 35 public: |
37 static PassRefPtrWillBeRawPtr<HTMLFieldSetElement> create(Document&, HTMLFor
mElement*); | 36 static PassRefPtrWillBeRawPtr<HTMLFieldSetElement> create(Document&, HTMLFor
mElement*); |
38 virtual void trace(Visitor*) override; | 37 virtual void trace(Visitor*) override; |
39 HTMLLegendElement* legend() const; | 38 HTMLLegendElement* legend() const; |
40 | 39 |
41 PassRefPtrWillBeRawPtr<HTMLFormControlsCollection> elements(); | 40 PassRefPtrWillBeRawPtr<HTMLFormControlsCollection> elements(); |
(...skipping 22 matching lines...) Expand all Loading... |
64 void refreshElementsIfNeeded() const; | 63 void refreshElementsIfNeeded() const; |
65 | 64 |
66 mutable FormAssociatedElement::List m_associatedElements; | 65 mutable FormAssociatedElement::List m_associatedElements; |
67 // 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. |
68 mutable uint64_t m_documentVersion; | 67 mutable uint64_t m_documentVersion; |
69 }; | 68 }; |
70 | 69 |
71 } // namespace blink | 70 } // namespace blink |
72 | 71 |
73 #endif // HTMLFieldSetElement_h | 72 #endif // HTMLFieldSetElement_h |
OLD | NEW |