OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2007 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2009 Google, Inc. All rights reserved. | 4 * Copyright (C) 2009 Google, Inc. All rights reserved. |
5 * Copyright (C) 2009 Apple Inc. All rights reserved. | 5 * Copyright (C) 2009 Apple Inc. All rights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 void addOutlineRects(Vector<LayoutRect>&, | 81 void addOutlineRects(Vector<LayoutRect>&, |
82 const LayoutPoint& additionalOffset, | 82 const LayoutPoint& additionalOffset, |
83 IncludeBlockVisualOverflowOrNot) const final; | 83 IncludeBlockVisualOverflowOrNot) const final; |
84 | 84 |
85 FloatRect strokeBoundingBox() const final { return m_strokeBoundingBox; } | 85 FloatRect strokeBoundingBox() const final { return m_strokeBoundingBox; } |
86 | 86 |
87 bool nodeAtFloatPoint(HitTestResult&, | 87 bool nodeAtFloatPoint(HitTestResult&, |
88 const FloatPoint& pointInParent, | 88 const FloatPoint& pointInParent, |
89 HitTestAction) override; | 89 HitTestAction) override; |
90 | 90 |
91 // Allow LayoutSVGTransformableContainer to hook in at the right time in layou
t(). | 91 // Allow LayoutSVGTransformableContainer to hook in at the right time in |
| 92 // layout(). |
92 virtual SVGTransformChange calculateLocalTransform(); | 93 virtual SVGTransformChange calculateLocalTransform(); |
93 | 94 |
94 // Allow LayoutSVGViewportContainer to hook in at the right times in layout()
and nodeAtFloatPoint(). | 95 // Allow LayoutSVGViewportContainer to hook in at the right times in layout() |
| 96 // and nodeAtFloatPoint(). |
95 virtual void calcViewport() {} | 97 virtual void calcViewport() {} |
96 virtual bool pointIsInsideViewportClip(const FloatPoint& /*pointInParent*/) { | 98 virtual bool pointIsInsideViewportClip(const FloatPoint& /*pointInParent*/) { |
97 return true; | 99 return true; |
98 } | 100 } |
99 | 101 |
100 virtual void determineIfLayoutSizeChanged() {} | 102 virtual void determineIfLayoutSizeChanged() {} |
101 | 103 |
102 void updateCachedBoundaries(); | 104 void updateCachedBoundaries(); |
103 | 105 |
104 void descendantIsolationRequirementsChanged(DescendantIsolationState) final; | 106 void descendantIsolationRequirementsChanged(DescendantIsolationState) final; |
(...skipping 10 matching lines...) Expand all Loading... |
115 bool m_didScreenScaleFactorChange : 1; | 117 bool m_didScreenScaleFactorChange : 1; |
116 mutable bool m_hasNonIsolatedBlendingDescendants : 1; | 118 mutable bool m_hasNonIsolatedBlendingDescendants : 1; |
117 mutable bool m_hasNonIsolatedBlendingDescendantsDirty : 1; | 119 mutable bool m_hasNonIsolatedBlendingDescendantsDirty : 1; |
118 }; | 120 }; |
119 | 121 |
120 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGContainer, isSVGContainer()); | 122 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGContainer, isSVGContainer()); |
121 | 123 |
122 } // namespace blink | 124 } // namespace blink |
123 | 125 |
124 #endif // LayoutSVGContainer_h | 126 #endif // LayoutSVGContainer_h |
OLD | NEW |