OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 Apple Computer, Inc. | 2 * Copyright (C) 2006 Apple Computer, Inc. |
3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> | 3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> |
4 * Copyright (C) Research In Motion Limited 2010-2012. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 2010-2012. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 } | 70 } |
71 | 71 |
72 void paint(const PaintInfo&, const LayoutPoint&) const override; | 72 void paint(const PaintInfo&, const LayoutPoint&) const override; |
73 bool nodeAtFloatPoint(HitTestResult&, | 73 bool nodeAtFloatPoint(HitTestResult&, |
74 const FloatPoint& pointInParent, | 74 const FloatPoint& pointInParent, |
75 HitTestAction) override; | 75 HitTestAction) override; |
76 PositionWithAffinity positionForPoint(const LayoutPoint&) override; | 76 PositionWithAffinity positionForPoint(const LayoutPoint&) override; |
77 | 77 |
78 void layout() override; | 78 void layout() override; |
79 | 79 |
80 void absoluteQuads(Vector<FloatQuad>&) const override; | 80 void absoluteQuads(Vector<FloatQuad>&, |
| 81 MapCoordinatesFlags mode = 0) const override; |
81 | 82 |
82 void addChild(LayoutObject* child, | 83 void addChild(LayoutObject* child, |
83 LayoutObject* beforeChild = nullptr) override; | 84 LayoutObject* beforeChild = nullptr) override; |
84 void removeChild(LayoutObject*) override; | 85 void removeChild(LayoutObject*) override; |
85 void willBeDestroyed() override; | 86 void willBeDestroyed() override; |
86 | 87 |
87 void invalidateTreeIfNeeded(const PaintInvalidationState&) override; | 88 void invalidateTreeIfNeeded(const PaintInvalidationState&) override; |
88 | 89 |
89 RootInlineBox* createRootInlineBox() override; | 90 RootInlineBox* createRootInlineBox() override; |
90 | 91 |
91 void invalidatePositioningValues(LayoutInvalidationReasonForTracing); | 92 void invalidatePositioningValues(LayoutInvalidationReasonForTracing); |
92 | 93 |
93 bool m_needsReordering : 1; | 94 bool m_needsReordering : 1; |
94 bool m_needsPositioningValuesUpdate : 1; | 95 bool m_needsPositioningValuesUpdate : 1; |
95 bool m_needsTransformUpdate : 1; | 96 bool m_needsTransformUpdate : 1; |
96 bool m_needsTextMetricsUpdate : 1; | 97 bool m_needsTextMetricsUpdate : 1; |
97 Vector<LayoutSVGInlineText*> m_descendantTextNodes; | 98 Vector<LayoutSVGInlineText*> m_descendantTextNodes; |
98 }; | 99 }; |
99 | 100 |
100 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGText, isSVGText()); | 101 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGText, isSVGText()); |
101 | 102 |
102 } // namespace blink | 103 } // namespace blink |
103 | 104 |
104 #endif | 105 #endif |
OLD | NEW |