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) 2001 Peter Kelly (pmk@post.com) | 4 * (C) 2001 Peter Kelly (pmk@post.com) |
5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
6 * (C) 2007 David Smith (catfish.man@gmail.com) | 6 * (C) 2007 David Smith (catfish.man@gmail.com) |
7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc.
All rights reserved. | 7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc.
All rights reserved. |
8 * (C) 2007 Eric Seidel (eric@webkit.org) | 8 * (C) 2007 Eric Seidel (eric@webkit.org) |
9 * | 9 * |
10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
11 * modify it under the terms of the GNU Library General Public | 11 * modify it under the terms of the GNU Library General Public |
12 * License as published by the Free Software Foundation; either | 12 * License as published by the Free Software Foundation; either |
13 * version 2 of the License, or (at your option) any later version. | 13 * version 2 of the License, or (at your option) any later version. |
14 * | 14 * |
15 * This library is distributed in the hope that it will be useful, | 15 * This library is distributed in the hope that it will be useful, |
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
18 * Library General Public License for more details. | 18 * Library General Public License for more details. |
19 * | 19 * |
20 * You should have received a copy of the GNU Library General Public License | 20 * You should have received a copy of the GNU Library General Public License |
21 * along with this library; see the file COPYING.LIB. If not, write to | 21 * along with this library; see the file COPYING.LIB. If not, write to |
22 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 22 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
23 * Boston, MA 02110-1301, USA. | 23 * Boston, MA 02110-1301, USA. |
24 */ | 24 */ |
25 | 25 |
26 #include "config.h" | 26 #include "config.h" |
27 #include "core/dom/Element.h" | 27 #include "core/dom/Element.h" |
28 | 28 |
29 #include "HTMLNames.h" | 29 #include "HTMLNames.h" |
30 #include "XMLNSNames.h" | |
31 #include "XMLNames.h" | 30 #include "XMLNames.h" |
32 #include "core/accessibility/AXObjectCache.h" | 31 #include "core/accessibility/AXObjectCache.h" |
33 #include "core/css/CSSParser.h" | |
34 #include "core/css/CSSSelectorList.h" | |
35 #include "core/css/StylePropertySet.h" | 32 #include "core/css/StylePropertySet.h" |
36 #include "core/css/resolver/StyleResolver.h" | 33 #include "core/css/resolver/StyleResolver.h" |
37 #include "core/dom/Attr.h" | 34 #include "core/dom/Attr.h" |
38 #include "core/dom/ClientRect.h" | 35 #include "core/dom/ClientRect.h" |
39 #include "core/dom/ClientRectList.h" | 36 #include "core/dom/ClientRectList.h" |
40 #include "core/dom/CustomElementRegistry.h" | 37 #include "core/dom/CustomElementRegistry.h" |
41 #include "core/dom/DatasetDOMStringMap.h" | 38 #include "core/dom/DatasetDOMStringMap.h" |
42 #include "core/dom/Document.h" | 39 #include "core/dom/Document.h" |
43 #include "core/dom/DocumentFragment.h" | |
44 #include "core/dom/DocumentSharedObjectPool.h" | 40 #include "core/dom/DocumentSharedObjectPool.h" |
45 #include "core/dom/ElementRareData.h" | 41 #include "core/dom/ElementRareData.h" |
46 #include "core/dom/ExceptionCode.h" | 42 #include "core/dom/ExceptionCode.h" |
47 #include "core/dom/MutationObserverInterestGroup.h" | 43 #include "core/dom/MutationObserverInterestGroup.h" |
48 #include "core/dom/MutationRecord.h" | 44 #include "core/dom/MutationRecord.h" |
49 #include "core/dom/NamedNodeMap.h" | 45 #include "core/dom/NamedNodeMap.h" |
50 #include "core/dom/NodeList.h" | |
51 #include "core/dom/NodeRenderStyle.h" | 46 #include "core/dom/NodeRenderStyle.h" |
52 #include "core/dom/NodeRenderingContext.h" | 47 #include "core/dom/NodeRenderingContext.h" |
53 #include "core/dom/NodeTraversal.h" | |
54 #include "core/dom/PseudoElement.h" | 48 #include "core/dom/PseudoElement.h" |
55 #include "core/dom/SelectorQuery.h" | 49 #include "core/dom/SelectorQuery.h" |
56 #include "core/dom/Text.h" | 50 #include "core/dom/Text.h" |
57 #include "core/dom/WebCoreMemoryInstrumentation.h" | 51 #include "core/dom/WebCoreMemoryInstrumentation.h" |
58 #include "core/dom/shadow/InsertionPoint.h" | 52 #include "core/dom/shadow/InsertionPoint.h" |
59 #include "core/dom/shadow/ShadowRoot.h" | 53 #include "core/dom/shadow/ShadowRoot.h" |
60 #include "core/editing/FrameSelection.h" | 54 #include "core/editing/FrameSelection.h" |
61 #include "core/editing/TextIterator.h" | 55 #include "core/editing/TextIterator.h" |
62 #include "core/editing/htmlediting.h" | 56 #include "core/editing/htmlediting.h" |
63 #include "core/html/ClassList.h" | 57 #include "core/html/ClassList.h" |
64 #include "core/html/DOMTokenList.h" | |
65 #include "core/html/HTMLCollection.h" | 58 #include "core/html/HTMLCollection.h" |
66 #include "core/html/HTMLDocument.h" | 59 #include "core/html/HTMLDocument.h" |
67 #include "core/html/HTMLElement.h" | 60 #include "core/html/HTMLElement.h" |
68 #include "core/html/HTMLFormControlsCollection.h" | 61 #include "core/html/HTMLFormControlsCollection.h" |
69 #include "core/html/HTMLFrameOwnerElement.h" | 62 #include "core/html/HTMLFrameOwnerElement.h" |
70 #include "core/html/HTMLLabelElement.h" | 63 #include "core/html/HTMLLabelElement.h" |
71 #include "core/html/HTMLOptionsCollection.h" | 64 #include "core/html/HTMLOptionsCollection.h" |
72 #include "core/html/HTMLTableRowsCollection.h" | 65 #include "core/html/HTMLTableRowsCollection.h" |
73 #include "core/html/VoidCallback.h" | |
74 #include "core/html/parser/HTMLParserIdioms.h" | 66 #include "core/html/parser/HTMLParserIdioms.h" |
75 #include "core/inspector/InspectorInstrumentation.h" | |
76 #include "core/page/FocusController.h" | 67 #include "core/page/FocusController.h" |
77 #include "core/page/Frame.h" | 68 #include "core/page/Frame.h" |
78 #include "core/page/FrameView.h" | 69 #include "core/page/FrameView.h" |
79 #include "core/page/Page.h" | 70 #include "core/page/Page.h" |
80 #include "core/page/PointerLockController.h" | 71 #include "core/page/PointerLockController.h" |
81 #include "core/page/Settings.h" | |
82 #include "core/rendering/FlowThreadController.h" | 72 #include "core/rendering/FlowThreadController.h" |
83 #include "core/rendering/RenderRegion.h" | 73 #include "core/rendering/RenderRegion.h" |
84 #include "core/rendering/RenderView.h" | 74 #include "core/rendering/RenderView.h" |
85 #include "core/rendering/RenderWidget.h" | 75 #include "core/rendering/RenderWidget.h" |
86 #include <wtf/BitVector.h> | 76 #include <wtf/BitVector.h> |
87 #include <wtf/MemoryInstrumentationVector.h> | 77 #include <wtf/MemoryInstrumentationVector.h> |
88 #include <wtf/text/CString.h> | 78 #include <wtf/text/CString.h> |
89 | 79 |
90 #if ENABLE(SVG) | 80 #if ENABLE(SVG) |
91 #include "SVGNames.h" | 81 #include "SVGNames.h" |
(...skipping 3058 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3150 return 0; | 3140 return 0; |
3151 } | 3141 } |
3152 | 3142 |
3153 Attribute* UniqueElementData::attributeItem(unsigned index) | 3143 Attribute* UniqueElementData::attributeItem(unsigned index) |
3154 { | 3144 { |
3155 ASSERT_WITH_SECURITY_IMPLICATION(index < length()); | 3145 ASSERT_WITH_SECURITY_IMPLICATION(index < length()); |
3156 return &m_attributeVector.at(index); | 3146 return &m_attributeVector.at(index); |
3157 } | 3147 } |
3158 | 3148 |
3159 } // namespace WebCore | 3149 } // namespace WebCore |
OLD | NEW |