| 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 * |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 #include "core/css/resolver/StyleResolver.h" | 50 #include "core/css/resolver/StyleResolver.h" |
| 51 #include "core/css/resolver/StyleResolverStats.h" | 51 #include "core/css/resolver/StyleResolverStats.h" |
| 52 #include "core/css/resolver/StyleSharingDepthScope.h" | 52 #include "core/css/resolver/StyleSharingDepthScope.h" |
| 53 #include "core/dom/AXObjectCache.h" | 53 #include "core/dom/AXObjectCache.h" |
| 54 #include "core/dom/Attr.h" | 54 #include "core/dom/Attr.h" |
| 55 #include "core/dom/CSSSelectorWatch.h" | 55 #include "core/dom/CSSSelectorWatch.h" |
| 56 #include "core/dom/ClientRect.h" | 56 #include "core/dom/ClientRect.h" |
| 57 #include "core/dom/ClientRectList.h" | 57 #include "core/dom/ClientRectList.h" |
| 58 #include "core/dom/DatasetDOMStringMap.h" | 58 #include "core/dom/DatasetDOMStringMap.h" |
| 59 #include "core/dom/ElementDataCache.h" | 59 #include "core/dom/ElementDataCache.h" |
| 60 #include "core/dom/ElementIntersectionObserverData.h" |
| 60 #include "core/dom/ElementRareData.h" | 61 #include "core/dom/ElementRareData.h" |
| 61 #include "core/dom/ElementTraversal.h" | 62 #include "core/dom/ElementTraversal.h" |
| 62 #include "core/dom/ExceptionCode.h" | 63 #include "core/dom/ExceptionCode.h" |
| 63 #include "core/dom/FirstLetterPseudoElement.h" | 64 #include "core/dom/FirstLetterPseudoElement.h" |
| 64 #include "core/dom/Fullscreen.h" | 65 #include "core/dom/Fullscreen.h" |
| 65 #include "core/dom/LayoutTreeBuilder.h" | 66 #include "core/dom/LayoutTreeBuilder.h" |
| 66 #include "core/dom/MutationObserverInterestGroup.h" | 67 #include "core/dom/MutationObserverInterestGroup.h" |
| 67 #include "core/dom/MutationRecord.h" | 68 #include "core/dom/MutationRecord.h" |
| 68 #include "core/dom/NamedNodeMap.h" | 69 #include "core/dom/NamedNodeMap.h" |
| 69 #include "core/dom/NodeComputedStyle.h" | 70 #include "core/dom/NodeComputedStyle.h" |
| 70 #include "core/dom/NodeIntersectionObserverData.h" | |
| 71 #include "core/dom/PresentationAttributeStyle.h" | 71 #include "core/dom/PresentationAttributeStyle.h" |
| 72 #include "core/dom/PseudoElement.h" | 72 #include "core/dom/PseudoElement.h" |
| 73 #include "core/dom/ScriptableDocumentParser.h" | 73 #include "core/dom/ScriptableDocumentParser.h" |
| 74 #include "core/dom/SelectorQuery.h" | 74 #include "core/dom/SelectorQuery.h" |
| 75 #include "core/dom/StyleChangeReason.h" | 75 #include "core/dom/StyleChangeReason.h" |
| 76 #include "core/dom/StyleEngine.h" | 76 #include "core/dom/StyleEngine.h" |
| 77 #include "core/dom/Text.h" | 77 #include "core/dom/Text.h" |
| 78 #include "core/dom/custom/CustomElement.h" | 78 #include "core/dom/custom/CustomElement.h" |
| 79 #include "core/dom/custom/CustomElementRegistry.h" | 79 #include "core/dom/custom/CustomElementRegistry.h" |
| 80 #include "core/dom/custom/V0CustomElement.h" | 80 #include "core/dom/custom/V0CustomElement.h" |
| (...skipping 2788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2869 return nullptr; | 2869 return nullptr; |
| 2870 } | 2870 } |
| 2871 | 2871 |
| 2872 exceptionState.throwDOMException( | 2872 exceptionState.throwDOMException( |
| 2873 SyntaxError, "The value provided ('" + where + | 2873 SyntaxError, "The value provided ('" + where + |
| 2874 "') is not one of 'beforeBegin', 'afterBegin', " | 2874 "') is not one of 'beforeBegin', 'afterBegin', " |
| 2875 "'beforeEnd', or 'afterEnd'."); | 2875 "'beforeEnd', or 'afterEnd'."); |
| 2876 return nullptr; | 2876 return nullptr; |
| 2877 } | 2877 } |
| 2878 | 2878 |
| 2879 NodeIntersectionObserverData* Element::intersectionObserverData() const { | 2879 ElementIntersectionObserverData* Element::intersectionObserverData() const { |
| 2880 if (hasRareData()) | 2880 if (hasRareData()) |
| 2881 return elementRareData()->intersectionObserverData(); | 2881 return elementRareData()->intersectionObserverData(); |
| 2882 return nullptr; | 2882 return nullptr; |
| 2883 } | 2883 } |
| 2884 | 2884 |
| 2885 NodeIntersectionObserverData& Element::ensureIntersectionObserverData() { | 2885 ElementIntersectionObserverData& Element::ensureIntersectionObserverData() { |
| 2886 return ensureElementRareData().ensureIntersectionObserverData(); | 2886 return ensureElementRareData().ensureIntersectionObserverData(); |
| 2887 } | 2887 } |
| 2888 | 2888 |
| 2889 HeapHashMap<Member<ResizeObserver>, Member<ResizeObservation>>* | 2889 HeapHashMap<Member<ResizeObserver>, Member<ResizeObservation>>* |
| 2890 Element::resizeObserverData() const { | 2890 Element::resizeObserverData() const { |
| 2891 if (hasRareData()) | 2891 if (hasRareData()) |
| 2892 return elementRareData()->resizeObserverData(); | 2892 return elementRareData()->resizeObserverData(); |
| 2893 return nullptr; | 2893 return nullptr; |
| 2894 } | 2894 } |
| 2895 | 2895 |
| (...skipping 1195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4091 } | 4091 } |
| 4092 | 4092 |
| 4093 DEFINE_TRACE_WRAPPERS(Element) { | 4093 DEFINE_TRACE_WRAPPERS(Element) { |
| 4094 if (hasRareData()) { | 4094 if (hasRareData()) { |
| 4095 visitor->traceWrappers(elementRareData()); | 4095 visitor->traceWrappers(elementRareData()); |
| 4096 } | 4096 } |
| 4097 ContainerNode::traceWrappers(visitor); | 4097 ContainerNode::traceWrappers(visitor); |
| 4098 } | 4098 } |
| 4099 | 4099 |
| 4100 } // namespace blink | 4100 } // namespace blink |
| OLD | NEW |