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 14 matching lines...) Expand all Loading... |
25 #define HTMLFieldSetElement_h | 25 #define HTMLFieldSetElement_h |
26 | 26 |
27 #include "HTMLFormControlElement.h" | 27 #include "HTMLFormControlElement.h" |
28 #include <wtf/OwnPtr.h> | 28 #include <wtf/OwnPtr.h> |
29 | 29 |
30 namespace WebCore { | 30 namespace WebCore { |
31 | 31 |
32 class FormAssociatedElement; | 32 class FormAssociatedElement; |
33 class HTMLCollection; | 33 class HTMLCollection; |
34 | 34 |
35 class HTMLFieldSetElement : public HTMLFormControlElement { | 35 class HTMLFieldSetElement FINAL : public HTMLFormControlElement { |
36 public: | 36 public: |
37 static PassRefPtr<HTMLFieldSetElement> create(const QualifiedName&, Document
*, HTMLFormElement*); | 37 static PassRefPtr<HTMLFieldSetElement> create(const QualifiedName&, Document
*, HTMLFormElement*); |
38 HTMLLegendElement* legend() const; | 38 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 protected: | 45 protected: |
(...skipping 14 matching lines...) Expand all Loading... |
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 |