| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 bool isOfType(LayoutObjectType type) const override { return type == LayoutO
bjectSVGText || LayoutSVGBlock::isOfType(type); } | 65 bool isOfType(LayoutObjectType type) const override { return type == LayoutO
bjectSVGText || LayoutSVGBlock::isOfType(type); } |
| 66 | 66 |
| 67 void paint(const PaintInfo&, const LayoutPoint&) const override; | 67 void paint(const PaintInfo&, const LayoutPoint&) const override; |
| 68 bool nodeAtFloatPoint(HitTestResult&, const FloatPoint& pointInParent, HitTe
stAction) override; | 68 bool nodeAtFloatPoint(HitTestResult&, const FloatPoint& pointInParent, HitTe
stAction) override; |
| 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 styleDidChange(StyleDifference, const ComputedStyle* oldStyle) final; |
| 76 |
| 75 void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) over
ride; | 77 void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) over
ride; |
| 76 void removeChild(LayoutObject*) override; | 78 void removeChild(LayoutObject*) override; |
| 77 void willBeDestroyed() override; | 79 void willBeDestroyed() override; |
| 78 | 80 |
| 79 void invalidateTreeIfNeeded(PaintInvalidationState&) override; | 81 void invalidateTreeIfNeeded(PaintInvalidationState&) override; |
| 80 | 82 |
| 81 RootInlineBox* createRootInlineBox() override; | 83 RootInlineBox* createRootInlineBox() override; |
| 82 | 84 |
| 83 bool shouldHandleSubtreeMutations() const; | 85 bool shouldHandleSubtreeMutations() const; |
| 84 | 86 |
| 85 bool m_needsReordering : 1; | 87 bool m_needsReordering : 1; |
| 86 bool m_needsPositioningValuesUpdate : 1; | 88 bool m_needsPositioningValuesUpdate : 1; |
| 87 bool m_needsTransformUpdate : 1; | 89 bool m_needsTransformUpdate : 1; |
| 88 bool m_needsTextMetricsUpdate : 1; | 90 bool m_needsTextMetricsUpdate : 1; |
| 89 SVGTextLayoutAttributesBuilder m_layoutAttributesBuilder; | 91 SVGTextLayoutAttributesBuilder m_layoutAttributesBuilder; |
| 90 Vector<SVGTextLayoutAttributes*> m_layoutAttributes; | 92 Vector<SVGTextLayoutAttributes*> m_layoutAttributes; |
| 91 }; | 93 }; |
| 92 | 94 |
| 93 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGText, isSVGText()); | 95 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGText, isSVGText()); |
| 94 | 96 |
| 95 } | 97 } |
| 96 | 98 |
| 97 #endif | 99 #endif |
| OLD | NEW |