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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 PositionWithAffinity positionForPoint(const LayoutPoint&) override; | 69 PositionWithAffinity positionForPoint(const LayoutPoint&) override; |
70 | 70 |
71 void layout() override; | 71 void layout() override; |
72 | 72 |
73 void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const override; | 73 void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const override; |
74 | 74 |
75 void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) over
ride; | 75 void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) over
ride; |
76 void removeChild(LayoutObject*) override; | 76 void removeChild(LayoutObject*) override; |
77 void willBeDestroyed() override; | 77 void willBeDestroyed() override; |
78 | 78 |
| 79 void invalidateTreeIfNeeded(PaintInvalidationState&) override; |
| 80 |
79 RootInlineBox* createRootInlineBox() override; | 81 RootInlineBox* createRootInlineBox() override; |
80 | 82 |
81 bool shouldHandleSubtreeMutations() const; | 83 bool shouldHandleSubtreeMutations() const; |
82 | 84 |
83 bool m_needsReordering : 1; | 85 bool m_needsReordering : 1; |
84 bool m_needsPositioningValuesUpdate : 1; | 86 bool m_needsPositioningValuesUpdate : 1; |
85 bool m_needsTransformUpdate : 1; | 87 bool m_needsTransformUpdate : 1; |
86 bool m_needsTextMetricsUpdate : 1; | 88 bool m_needsTextMetricsUpdate : 1; |
87 SVGTextLayoutAttributesBuilder m_layoutAttributesBuilder; | 89 SVGTextLayoutAttributesBuilder m_layoutAttributesBuilder; |
88 Vector<SVGTextLayoutAttributes*> m_layoutAttributes; | 90 Vector<SVGTextLayoutAttributes*> m_layoutAttributes; |
89 }; | 91 }; |
90 | 92 |
91 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGText, isSVGText()); | 93 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGText, isSVGText()); |
92 | 94 |
93 } | 95 } |
94 | 96 |
95 #endif | 97 #endif |
OLD | NEW |