| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 class HitTestResult; | 30 class HitTestResult; |
| 31 class RenderRegion; | 31 class RenderRegion; |
| 32 | 32 |
| 33 struct BidiStatus; | 33 struct BidiStatus; |
| 34 struct GapRects; | 34 struct GapRects; |
| 35 | 35 |
| 36 class RootInlineBox : public InlineFlowBox { | 36 class RootInlineBox : public InlineFlowBox { |
| 37 public: | 37 public: |
| 38 explicit RootInlineBox(RenderBlock*); | 38 explicit RootInlineBox(RenderBlock*); |
| 39 | 39 |
| 40 virtual void destroy(RenderArena*) OVERRIDE FINAL; | 40 virtual void destroy() OVERRIDE FINAL; |
| 41 | 41 |
| 42 virtual bool isRootInlineBox() const OVERRIDE FINAL { return true; } | 42 virtual bool isRootInlineBox() const OVERRIDE FINAL { return true; } |
| 43 | 43 |
| 44 void detachEllipsisBox(RenderArena*); | 44 void detachEllipsisBox(); |
| 45 | 45 |
| 46 RootInlineBox* nextRootBox() const { return static_cast<RootInlineBox*>(m_ne
xtLineBox); } | 46 RootInlineBox* nextRootBox() const { return static_cast<RootInlineBox*>(m_ne
xtLineBox); } |
| 47 RootInlineBox* prevRootBox() const { return static_cast<RootInlineBox*>(m_pr
evLineBox); } | 47 RootInlineBox* prevRootBox() const { return static_cast<RootInlineBox*>(m_pr
evLineBox); } |
| 48 | 48 |
| 49 virtual void adjustPosition(float dx, float dy) OVERRIDE FINAL; | 49 virtual void adjustPosition(float dx, float dy) OVERRIDE FINAL; |
| 50 | 50 |
| 51 LayoutUnit lineTop() const { return m_lineTop; } | 51 LayoutUnit lineTop() const { return m_lineTop; } |
| 52 LayoutUnit lineBottom() const { return m_lineBottom; } | 52 LayoutUnit lineBottom() const { return m_lineBottom; } |
| 53 | 53 |
| 54 LayoutUnit lineTopWithLeading() const { return m_lineTopWithLeading; } | 54 LayoutUnit lineTopWithLeading() const { return m_lineTopWithLeading; } |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 OwnPtr<LineFragmentationData> m_fragmentationData; | 243 OwnPtr<LineFragmentationData> m_fragmentationData; |
| 244 | 244 |
| 245 // Floats hanging off the line are pushed into this vector during layout. It
is only | 245 // Floats hanging off the line are pushed into this vector during layout. It
is only |
| 246 // good for as long as the line has not been marked dirty. | 246 // good for as long as the line has not been marked dirty. |
| 247 OwnPtr<Vector<RenderBox*> > m_floats; | 247 OwnPtr<Vector<RenderBox*> > m_floats; |
| 248 }; | 248 }; |
| 249 | 249 |
| 250 } // namespace WebCore | 250 } // namespace WebCore |
| 251 | 251 |
| 252 #endif // RootInlineBox_h | 252 #endif // RootInlineBox_h |
| OLD | NEW |