| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007 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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 OwnPtr<RenderOverflow> m_overflow; | 312 OwnPtr<RenderOverflow> m_overflow; |
| 313 | 313 |
| 314 virtual bool isInlineFlowBox() const OVERRIDE FINAL { return true; } | 314 virtual bool isInlineFlowBox() const OVERRIDE FINAL { return true; } |
| 315 | 315 |
| 316 InlineBox* m_firstChild; | 316 InlineBox* m_firstChild; |
| 317 InlineBox* m_lastChild; | 317 InlineBox* m_lastChild; |
| 318 | 318 |
| 319 InlineFlowBox* m_prevLineBox; // The previous box that also uses our RenderO
bject | 319 InlineFlowBox* m_prevLineBox; // The previous box that also uses our RenderO
bject |
| 320 InlineFlowBox* m_nextLineBox; // The next box that also uses our RenderObjec
t | 320 InlineFlowBox* m_nextLineBox; // The next box that also uses our RenderObjec
t |
| 321 | 321 |
| 322 #if ENABLE(CSS3_TEXT) | |
| 323 // Maximum logicalTop among all children of an InlineFlowBox. Used to | 322 // Maximum logicalTop among all children of an InlineFlowBox. Used to |
| 324 // calculate the offset for TextUnderlinePositionUnder. | 323 // calculate the offset for TextUnderlinePositionUnder. |
| 325 void computeMaxLogicalTop(float& maxLogicalTop); | 324 void computeMaxLogicalTop(float& maxLogicalTop); |
| 326 #endif // CSS3_TEXT | |
| 327 private: | 325 private: |
| 328 unsigned m_includeLogicalLeftEdge : 1; | 326 unsigned m_includeLogicalLeftEdge : 1; |
| 329 unsigned m_includeLogicalRightEdge : 1; | 327 unsigned m_includeLogicalRightEdge : 1; |
| 330 unsigned m_hasTextChildren : 1; | 328 unsigned m_hasTextChildren : 1; |
| 331 unsigned m_hasTextDescendants : 1; | 329 unsigned m_hasTextDescendants : 1; |
| 332 unsigned m_descendantsHaveSameLineHeightAndBaseline : 1; | 330 unsigned m_descendantsHaveSameLineHeightAndBaseline : 1; |
| 333 | 331 |
| 334 protected: | 332 protected: |
| 335 // The following members are only used by RootInlineBox but moved here to ke
ep the bits packed. | 333 // The following members are only used by RootInlineBox but moved here to ke
ep the bits packed. |
| 336 | 334 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 } | 380 } |
| 383 | 381 |
| 384 } // namespace WebCore | 382 } // namespace WebCore |
| 385 | 383 |
| 386 #ifndef NDEBUG | 384 #ifndef NDEBUG |
| 387 // Outside the WebCore namespace for ease of invocation from gdb. | 385 // Outside the WebCore namespace for ease of invocation from gdb. |
| 388 void showTree(const WebCore::InlineFlowBox*); | 386 void showTree(const WebCore::InlineFlowBox*); |
| 389 #endif | 387 #endif |
| 390 | 388 |
| 391 #endif // InlineFlowBox_h | 389 #endif // InlineFlowBox_h |
| OLD | NEW |