LEFT | RIGHT |
1 /* | 1 /* |
2 * Copyright (C) 2008, 2009, 2010, 2014, 2016 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2009, 2010, 2014, 2016 Apple Inc. All rights reserved. |
3 * Copyright (C) 2008 David Smith <catfish.man@gmail.com> | 3 * Copyright (C) 2008 David Smith <catfish.man@gmail.com> |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 IntPoint savedLayerScrollPosition() const { return m_savedLayerScrollPositio
n; } | 111 IntPoint savedLayerScrollPosition() const { return m_savedLayerScrollPositio
n; } |
112 void setSavedLayerScrollPosition(IntPoint position) { m_savedLayerScrollPosi
tion = position; } | 112 void setSavedLayerScrollPosition(IntPoint position) { m_savedLayerScrollPosi
tion = position; } |
113 | 113 |
114 bool hasPendingResources() const { return m_hasPendingResources; } | 114 bool hasPendingResources() const { return m_hasPendingResources; } |
115 void setHasPendingResources(bool has) { m_hasPendingResources = has; } | 115 void setHasPendingResources(bool has) { m_hasPendingResources = has; } |
116 | 116 |
117 bool hasCSSAnimation() const { return m_hasCSSAnimation; } | 117 bool hasCSSAnimation() const { return m_hasCSSAnimation; } |
118 void setHasCSSAnimation(bool value) { m_hasCSSAnimation = value; } | 118 void setHasCSSAnimation(bool value) { m_hasCSSAnimation = value; } |
119 | 119 |
120 #if ENABLE(INTERSECTION_OBSERVER) | 120 #if ENABLE(INTERSECTION_OBSERVER) |
121 Vector<IntersectionObserverRegistration>* intersectionObserverRegistrations(
) { return m_intersectionObserverRegistrations.get(); } | 121 IntersectionObserverData* intersectionObserverData() { return m_intersection
ObserverData.get(); } |
122 void setIntersectionObserverRegistrations(std::unique_ptr<Vector<Intersectio
nObserverRegistration>>&& registrations) { m_intersectionObserverRegistrations =
WTFMove(registrations); } | 122 void setIntersectionObserverData(std::unique_ptr<IntersectionObserverData>&&
data) { m_intersectionObserverData = WTFMove(data); } |
123 #endif | 123 #endif |
124 | 124 |
125 private: | 125 private: |
126 int m_tabIndex; | 126 int m_tabIndex; |
127 unsigned short m_childIndex; | 127 unsigned short m_childIndex; |
128 unsigned m_tabIndexWasSetExplicitly : 1; | 128 unsigned m_tabIndexWasSetExplicitly : 1; |
129 unsigned m_styleAffectedByActive : 1; | 129 unsigned m_styleAffectedByActive : 1; |
130 unsigned m_styleAffectedByEmpty : 1; | 130 unsigned m_styleAffectedByEmpty : 1; |
131 unsigned m_styleAffectedByFocusWithin : 1; | 131 unsigned m_styleAffectedByFocusWithin : 1; |
132 #if ENABLE(FULLSCREEN_API) | 132 #if ENABLE(FULLSCREEN_API) |
(...skipping 22 matching lines...) Expand all Loading... |
155 RefPtr<ShadowRoot> m_shadowRoot; | 155 RefPtr<ShadowRoot> m_shadowRoot; |
156 std::unique_ptr<CustomElementReactionQueue> m_customElementReactionQueue; | 156 std::unique_ptr<CustomElementReactionQueue> m_customElementReactionQueue; |
157 std::unique_ptr<NamedNodeMap> m_attributeMap; | 157 std::unique_ptr<NamedNodeMap> m_attributeMap; |
158 | 158 |
159 RefPtr<PseudoElement> m_beforePseudoElement; | 159 RefPtr<PseudoElement> m_beforePseudoElement; |
160 RefPtr<PseudoElement> m_afterPseudoElement; | 160 RefPtr<PseudoElement> m_afterPseudoElement; |
161 | 161 |
162 void releasePseudoElement(PseudoElement*); | 162 void releasePseudoElement(PseudoElement*); |
163 | 163 |
164 #if ENABLE(INTERSECTION_OBSERVER) | 164 #if ENABLE(INTERSECTION_OBSERVER) |
165 std::unique_ptr<Vector<IntersectionObserverRegistration>> m_intersectionObse
rverRegistrations; | 165 std::unique_ptr<IntersectionObserverData> m_intersectionObserverData; |
166 #endif | 166 #endif |
167 }; | 167 }; |
168 | 168 |
169 inline IntSize defaultMinimumSizeForResizing() | 169 inline IntSize defaultMinimumSizeForResizing() |
170 { | 170 { |
171 return IntSize(LayoutUnit::max(), LayoutUnit::max()); | 171 return IntSize(LayoutUnit::max(), LayoutUnit::max()); |
172 } | 172 } |
173 | 173 |
174 inline ElementRareData::ElementRareData(RenderElement* renderer) | 174 inline ElementRareData::ElementRareData(RenderElement* renderer) |
175 : NodeRareData(renderer) | 175 : NodeRareData(renderer) |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 setChildrenAffectedByDrag(false); | 229 setChildrenAffectedByDrag(false); |
230 setChildrenAffectedByLastChildRules(false); | 230 setChildrenAffectedByLastChildRules(false); |
231 setChildrenAffectedByForwardPositionalRules(false); | 231 setChildrenAffectedByForwardPositionalRules(false); |
232 setDescendantsAffectedByForwardPositionalRules(false); | 232 setDescendantsAffectedByForwardPositionalRules(false); |
233 setChildrenAffectedByBackwardPositionalRules(false); | 233 setChildrenAffectedByBackwardPositionalRules(false); |
234 setDescendantsAffectedByBackwardPositionalRules(false); | 234 setDescendantsAffectedByBackwardPositionalRules(false); |
235 setChildrenAffectedByPropertyBasedBackwardPositionalRules(false); | 235 setChildrenAffectedByPropertyBasedBackwardPositionalRules(false); |
236 } | 236 } |
237 | 237 |
238 } // namespace WebCore | 238 } // namespace WebCore |
LEFT | RIGHT |