| 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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 void clearDescendantsHaveSameLineHeightAndBaseline() | 295 void clearDescendantsHaveSameLineHeightAndBaseline() |
| 296 { | 296 { |
| 297 m_descendantsHaveSameLineHeightAndBaseline = false; | 297 m_descendantsHaveSameLineHeightAndBaseline = false; |
| 298 if (parent() && parent()->descendantsHaveSameLineHeightAndBaseline()) | 298 if (parent() && parent()->descendantsHaveSameLineHeightAndBaseline()) |
| 299 parent()->clearDescendantsHaveSameLineHeightAndBaseline(); | 299 parent()->clearDescendantsHaveSameLineHeightAndBaseline(); |
| 300 } | 300 } |
| 301 | 301 |
| 302 private: | 302 private: |
| 303 void addBoxShadowVisualOverflow(LayoutRect& logicalVisualOverflow); | 303 void addBoxShadowVisualOverflow(LayoutRect& logicalVisualOverflow); |
| 304 void addBorderOutsetVisualOverflow(LayoutRect& logicalVisualOverflow); | 304 void addBorderOutsetVisualOverflow(LayoutRect& logicalVisualOverflow); |
| 305 void addOutlineVisualOverflow(LayoutRect& logicalVisualOverflow); |
| 305 void addTextBoxVisualOverflow(InlineTextBox*, GlyphOverflowAndFallbackFontsM
ap&, LayoutRect& logicalVisualOverflow); | 306 void addTextBoxVisualOverflow(InlineTextBox*, GlyphOverflowAndFallbackFontsM
ap&, LayoutRect& logicalVisualOverflow); |
| 306 void addReplacedChildOverflow(const InlineBox*, LayoutRect& logicalLayoutOve
rflow, LayoutRect& logicalVisualOverflow); | 307 void addReplacedChildOverflow(const InlineBox*, LayoutRect& logicalLayoutOve
rflow, LayoutRect& logicalVisualOverflow); |
| 307 void constrainToLineTopAndBottomIfNeeded(LayoutRect&) const; | 308 void constrainToLineTopAndBottomIfNeeded(LayoutRect&) const; |
| 308 | 309 |
| 309 protected: | 310 protected: |
| 310 OwnPtr<RenderOverflow> m_overflow; | 311 OwnPtr<RenderOverflow> m_overflow; |
| 311 | 312 |
| 312 virtual bool isInlineFlowBox() const OVERRIDE FINAL { return true; } | 313 virtual bool isInlineFlowBox() const OVERRIDE FINAL { return true; } |
| 313 | 314 |
| 314 InlineBox* m_firstChild; | 315 InlineBox* m_firstChild; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 } | 367 } |
| 367 | 368 |
| 368 } // namespace WebCore | 369 } // namespace WebCore |
| 369 | 370 |
| 370 #ifndef NDEBUG | 371 #ifndef NDEBUG |
| 371 // Outside the WebCore namespace for ease of invocation from gdb. | 372 // Outside the WebCore namespace for ease of invocation from gdb. |
| 372 void showTree(const WebCore::InlineFlowBox*); | 373 void showTree(const WebCore::InlineFlowBox*); |
| 373 #endif | 374 #endif |
| 374 | 375 |
| 375 #endif // InlineFlowBox_h | 376 #endif // InlineFlowBox_h |
| OLD | NEW |