| 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 "ClassList.h" | |
| 30 #include "DOMTokenList.h" | |
| 31 #include "HTMLCollection.h" | |
| 32 #include "HTMLDocument.h" | |
| 33 #include "HTMLElement.h" | |
| 34 #include "HTMLFormControlsCollection.h" | |
| 35 #include "HTMLFrameOwnerElement.h" | |
| 36 #include "HTMLLabelElement.h" | |
| 37 #include "HTMLNames.h" | 29 #include "HTMLNames.h" |
| 38 #include "HTMLOptionsCollection.h" | |
| 39 #include "HTMLTableRowsCollection.h" | |
| 40 #include "VoidCallback.h" | |
| 41 #include "XMLNSNames.h" | 30 #include "XMLNSNames.h" |
| 42 #include "XMLNames.h" | 31 #include "XMLNames.h" |
| 43 #include "core/accessibility/AXObjectCache.h" | 32 #include "core/accessibility/AXObjectCache.h" |
| 44 #include "core/css/CSSParser.h" | 33 #include "core/css/CSSParser.h" |
| 45 #include "core/css/CSSSelectorList.h" | 34 #include "core/css/CSSSelectorList.h" |
| 46 #include "core/css/StylePropertySet.h" | 35 #include "core/css/StylePropertySet.h" |
| 47 #include "core/css/StyleResolver.h" | 36 #include "core/css/StyleResolver.h" |
| 48 #include "core/dom/Attr.h" | 37 #include "core/dom/Attr.h" |
| 49 #include "core/dom/ClientRect.h" | 38 #include "core/dom/ClientRect.h" |
| 50 #include "core/dom/ClientRectList.h" | 39 #include "core/dom/ClientRectList.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 63 #include "core/dom/NodeRenderingContext.h" | 52 #include "core/dom/NodeRenderingContext.h" |
| 64 #include "core/dom/NodeTraversal.h" | 53 #include "core/dom/NodeTraversal.h" |
| 65 #include "core/dom/PseudoElement.h" | 54 #include "core/dom/PseudoElement.h" |
| 66 #include "core/dom/SelectorQuery.h" | 55 #include "core/dom/SelectorQuery.h" |
| 67 #include "core/dom/ShadowRoot.h" | 56 #include "core/dom/ShadowRoot.h" |
| 68 #include "core/dom/Text.h" | 57 #include "core/dom/Text.h" |
| 69 #include "core/dom/WebCoreMemoryInstrumentation.h" | 58 #include "core/dom/WebCoreMemoryInstrumentation.h" |
| 70 #include "core/editing/FrameSelection.h" | 59 #include "core/editing/FrameSelection.h" |
| 71 #include "core/editing/TextIterator.h" | 60 #include "core/editing/TextIterator.h" |
| 72 #include "core/editing/htmlediting.h" | 61 #include "core/editing/htmlediting.h" |
| 62 #include "core/html/ClassList.h" |
| 63 #include "core/html/DOMTokenList.h" |
| 64 #include "core/html/HTMLCollection.h" |
| 65 #include "core/html/HTMLDocument.h" |
| 66 #include "core/html/HTMLElement.h" |
| 67 #include "core/html/HTMLFormControlsCollection.h" |
| 68 #include "core/html/HTMLFrameOwnerElement.h" |
| 69 #include "core/html/HTMLLabelElement.h" |
| 70 #include "core/html/HTMLOptionsCollection.h" |
| 71 #include "core/html/HTMLTableRowsCollection.h" |
| 72 #include "core/html/VoidCallback.h" |
| 73 #include "core/html/parser/HTMLParserIdioms.h" | 73 #include "core/html/parser/HTMLParserIdioms.h" |
| 74 #include "core/html/shadow/InsertionPoint.h" | 74 #include "core/html/shadow/InsertionPoint.h" |
| 75 #include "core/inspector/InspectorInstrumentation.h" | 75 #include "core/inspector/InspectorInstrumentation.h" |
| 76 #include "core/page/FocusController.h" | 76 #include "core/page/FocusController.h" |
| 77 #include "core/page/Frame.h" | 77 #include "core/page/Frame.h" |
| 78 #include "core/page/FrameView.h" | 78 #include "core/page/FrameView.h" |
| 79 #include "core/page/Page.h" | 79 #include "core/page/Page.h" |
| 80 #include "core/page/PointerLockController.h" | 80 #include "core/page/PointerLockController.h" |
| 81 #include "core/page/Settings.h" | 81 #include "core/page/Settings.h" |
| 82 #include "core/rendering/FlowThreadController.h" | 82 #include "core/rendering/FlowThreadController.h" |
| (...skipping 3030 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3113 return 0; | 3113 return 0; |
| 3114 } | 3114 } |
| 3115 | 3115 |
| 3116 Attribute* UniqueElementData::attributeItem(unsigned index) | 3116 Attribute* UniqueElementData::attributeItem(unsigned index) |
| 3117 { | 3117 { |
| 3118 ASSERT_WITH_SECURITY_IMPLICATION(index < length()); | 3118 ASSERT_WITH_SECURITY_IMPLICATION(index < length()); |
| 3119 return &m_attributeVector.at(index); | 3119 return &m_attributeVector.at(index); |
| 3120 } | 3120 } |
| 3121 | 3121 |
| 3122 } // namespace WebCore | 3122 } // namespace WebCore |
| OLD | NEW |