OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz> | 2 * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz> |
3 * Copyright (C) 2006 Apple Computer Inc. | 3 * Copyright (C) 2006 Apple Computer Inc. |
4 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> | 4 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> |
5 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 5 * Copyright (C) Research In Motion Limited 2010. 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 14 matching lines...) Expand all Loading... |
25 | 25 |
26 #if ENABLE(SVG) | 26 #if ENABLE(SVG) |
27 #include "RootInlineBox.h" | 27 #include "RootInlineBox.h" |
28 #include "SVGRenderSupport.h" | 28 #include "SVGRenderSupport.h" |
29 #include "SVGTextLayoutEngine.h" | 29 #include "SVGTextLayoutEngine.h" |
30 | 30 |
31 namespace WebCore { | 31 namespace WebCore { |
32 | 32 |
33 class SVGInlineTextBox; | 33 class SVGInlineTextBox; |
34 | 34 |
35 class SVGRootInlineBox : public RootInlineBox { | 35 class SVGRootInlineBox FINAL : public RootInlineBox { |
36 public: | 36 public: |
37 SVGRootInlineBox(RenderBlock* block) | 37 SVGRootInlineBox(RenderBlock* block) |
38 : RootInlineBox(block) | 38 : RootInlineBox(block) |
39 , m_logicalHeight(0) | 39 , m_logicalHeight(0) |
40 { | 40 { |
41 } | 41 } |
42 | 42 |
43 virtual bool isSVGRootInlineBox() const { return true; } | 43 virtual bool isSVGRootInlineBox() const { return true; } |
44 | 44 |
45 virtual float virtualLogicalHeight() const { return m_logicalHeight; } | 45 virtual float virtualLogicalHeight() const { return m_logicalHeight; } |
(...skipping 16 matching lines...) Expand all Loading... |
62 | 62 |
63 private: | 63 private: |
64 float m_logicalHeight; | 64 float m_logicalHeight; |
65 }; | 65 }; |
66 | 66 |
67 } // namespace WebCore | 67 } // namespace WebCore |
68 | 68 |
69 #endif // ENABLE(SVG) | 69 #endif // ENABLE(SVG) |
70 | 70 |
71 #endif // SVGRootInlineBox_h | 71 #endif // SVGRootInlineBox_h |
OLD | NEW |