| 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. | 7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. |
| 8 * All rights reserved. | 8 * All rights reserved. |
| 9 * (C) 2007 Eric Seidel (eric@webkit.org) | 9 * (C) 2007 Eric Seidel (eric@webkit.org) |
| 10 * | 10 * |
| 11 * This library is free software; you can redistribute it and/or | 11 * This library is free software; you can redistribute it and/or |
| 12 * modify it under the terms of the GNU Library General Public | 12 * modify it under the terms of the GNU Library General Public |
| 13 * License as published by the Free Software Foundation; either | 13 * License as published by the Free Software Foundation; either |
| 14 * version 2 of the License, or (at your option) any later version. | 14 * version 2 of the License, or (at your option) any later version. |
| 15 * | 15 * |
| 16 * This library is distributed in the hope that it will be useful, | 16 * This library is distributed in the hope that it will be useful, |
| 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 19 * Library General Public License for more details. | 19 * Library General Public License for more details. |
| 20 * | 20 * |
| 21 * You should have received a copy of the GNU Library General Public License | 21 * You should have received a copy of the GNU Library General Public License |
| 22 * along with this library; see the file COPYING.LIB. If not, write to | 22 * along with this library; see the file COPYING.LIB. If not, write to |
| 23 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 23 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 24 * Boston, MA 02110-1301, USA. | 24 * Boston, MA 02110-1301, USA. |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 #include "core/dom/Element.h" | 27 #include "core/dom/Element.h" |
| 28 | 28 |
| 29 #include <memory> |
| 29 #include "bindings/core/v8/DOMDataStore.h" | 30 #include "bindings/core/v8/DOMDataStore.h" |
| 30 #include "bindings/core/v8/Dictionary.h" | 31 #include "bindings/core/v8/Dictionary.h" |
| 31 #include "bindings/core/v8/ExceptionMessages.h" | 32 #include "bindings/core/v8/ExceptionMessages.h" |
| 32 #include "bindings/core/v8/ExceptionState.h" | 33 #include "bindings/core/v8/ExceptionState.h" |
| 33 #include "bindings/core/v8/V8DOMActivityLogger.h" | 34 #include "bindings/core/v8/V8DOMActivityLogger.h" |
| 34 #include "bindings/core/v8/V8DOMWrapper.h" | 35 #include "bindings/core/v8/V8DOMWrapper.h" |
| 35 #include "bindings/core/v8/V8PerContextData.h" | 36 #include "bindings/core/v8/V8PerContextData.h" |
| 36 #include "core/CSSValueKeywords.h" | 37 #include "core/CSSValueKeywords.h" |
| 37 #include "core/SVGNames.h" | 38 #include "core/SVGNames.h" |
| 38 #include "core/XMLNames.h" | 39 #include "core/XMLNames.h" |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 #include "platform/EventDispatchForbiddenScope.h" | 140 #include "platform/EventDispatchForbiddenScope.h" |
| 140 #include "platform/RuntimeEnabledFeatures.h" | 141 #include "platform/RuntimeEnabledFeatures.h" |
| 141 #include "platform/graphics/CompositorMutableProperties.h" | 142 #include "platform/graphics/CompositorMutableProperties.h" |
| 142 #include "platform/graphics/CompositorMutation.h" | 143 #include "platform/graphics/CompositorMutation.h" |
| 143 #include "platform/scroll/ScrollableArea.h" | 144 #include "platform/scroll/ScrollableArea.h" |
| 144 #include "wtf/BitVector.h" | 145 #include "wtf/BitVector.h" |
| 145 #include "wtf/HashFunctions.h" | 146 #include "wtf/HashFunctions.h" |
| 146 #include "wtf/text/CString.h" | 147 #include "wtf/text/CString.h" |
| 147 #include "wtf/text/StringBuilder.h" | 148 #include "wtf/text/StringBuilder.h" |
| 148 #include "wtf/text/TextPosition.h" | 149 #include "wtf/text/TextPosition.h" |
| 149 #include <memory> | |
| 150 | 150 |
| 151 namespace blink { | 151 namespace blink { |
| 152 | 152 |
| 153 namespace { | 153 namespace { |
| 154 | 154 |
| 155 // We need to retain the scroll customization callbacks until the element | 155 // We need to retain the scroll customization callbacks until the element |
| 156 // they're associated with is destroyed. It would be simplest if the callbacks | 156 // they're associated with is destroyed. It would be simplest if the callbacks |
| 157 // could be stored in ElementRareData, but we can't afford the space | 157 // could be stored in ElementRareData, but we can't afford the space |
| 158 // increase. Instead, keep the scroll customization callbacks here. The other | 158 // increase. Instead, keep the scroll customization callbacks here. The other |
| 159 // option would be to store these callbacks on the FrameHost or document, but | 159 // option would be to store these callbacks on the FrameHost or document, but |
| (...skipping 3974 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4134 } | 4134 } |
| 4135 | 4135 |
| 4136 DEFINE_TRACE_WRAPPERS(Element) { | 4136 DEFINE_TRACE_WRAPPERS(Element) { |
| 4137 if (hasRareData()) { | 4137 if (hasRareData()) { |
| 4138 visitor->traceWrappers(elementRareData()); | 4138 visitor->traceWrappers(elementRareData()); |
| 4139 } | 4139 } |
| 4140 ContainerNode::traceWrappers(visitor); | 4140 ContainerNode::traceWrappers(visitor); |
| 4141 } | 4141 } |
| 4142 | 4142 |
| 4143 } // namespace blink | 4143 } // namespace blink |
| OLD | NEW |