OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007 Rob Buis <buis@kde.org> | 2 * Copyright (C) 2007 Rob Buis <buis@kde.org> |
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. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 2010. 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, LayoutUnit
lineTop, LayoutUnit lineBottom) OVERRIDE; | 81 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, LayoutUnit
lineTop, LayoutUnit lineBottom) OVERRIDE; |
82 | 82 |
83 private: | 83 private: |
84 float m_logicalHeight; | 84 float m_logicalHeight; |
85 unsigned m_paintingResourceMode : 4; | 85 unsigned m_paintingResourceMode : 4; |
86 unsigned m_startsNewTextChunk : 1; | 86 unsigned m_startsNewTextChunk : 1; |
87 RenderSVGResource* m_paintingResource; | 87 RenderSVGResource* m_paintingResource; |
88 Vector<SVGTextFragment> m_textFragments; | 88 Vector<SVGTextFragment> m_textFragments; |
89 }; | 89 }; |
90 | 90 |
91 inline SVGInlineTextBox* toSVGInlineTextBox(InlineBox* box) | 91 DEFINE_INLINE_BOX_TYPE_CASTS(SVGInlineTextBox); |
92 { | |
93 ASSERT_WITH_SECURITY_IMPLICATION(!box || box->isSVGInlineTextBox()); | |
94 return static_cast<SVGInlineTextBox*>(box); | |
95 } | |
96 | 92 |
97 } // namespace WebCore | 93 } // namespace WebCore |
98 | 94 |
99 #endif // SVGInlineTextBox_h | 95 #endif // SVGInlineTextBox_h |
OLD | NEW |