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 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv
ed. | 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv
ed. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 19 matching lines...) Expand all Loading... |
30 class FormAssociatedElement; | 30 class FormAssociatedElement; |
31 class HTMLElement; | 31 class HTMLElement; |
32 class HTMLImageElement; | 32 class HTMLImageElement; |
33 class QualifiedName; | 33 class QualifiedName; |
34 | 34 |
35 // This class is just a big hack to find form elements even in malformed HTML el
ements. | 35 // This class is just a big hack to find form elements even in malformed HTML el
ements. |
36 // The famous <table><tr><form><td> problem. | 36 // The famous <table><tr><form><td> problem. |
37 | 37 |
38 class HTMLFormControlsCollection : public HTMLCollection { | 38 class HTMLFormControlsCollection : public HTMLCollection { |
39 public: | 39 public: |
40 static PassRefPtr<HTMLFormControlsCollection> create(Node*, CollectionType); | 40 static PassRefPtr<HTMLFormControlsCollection> create(const Handle<Node>&, Co
llectionType); |
41 | 41 |
42 virtual ~HTMLFormControlsCollection(); | 42 virtual ~HTMLFormControlsCollection(); |
43 | 43 |
44 virtual Result<Node> namedItem(const AtomicString& name) const; | 44 virtual Result<Node> namedItem(const AtomicString& name) const; |
45 | 45 |
46 private: | 46 private: |
47 HTMLFormControlsCollection(Node*); | 47 HTMLFormControlsCollection(const Handle<Node>&); |
48 | 48 |
49 virtual void updateNameCache() const; | 49 virtual void updateNameCache() const; |
50 | 50 |
51 const Vector<Member<FormAssociatedElement> >& formControlElements() const; | 51 const Vector<Member<FormAssociatedElement> >& formControlElements() const; |
52 const Vector<Member<HTMLImageElement> >& formImageElements() const; | 52 const Vector<Member<HTMLImageElement> >& formImageElements() const; |
53 virtual Result<Element> virtualItemAfter(unsigned& offsetInArray, const Hand
le<Element>&) const OVERRIDE; | 53 virtual Result<Element> virtualItemAfter(unsigned& offsetInArray, const Hand
le<Element>&) const OVERRIDE; |
54 }; | 54 }; |
55 | 55 |
56 } // namespace | 56 } // namespace |
57 | 57 |
58 #endif | 58 #endif |
OLD | NEW |