| 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 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 void clearDescendantsHaveSameLineHeightAndBaseline() | 292 void clearDescendantsHaveSameLineHeightAndBaseline() |
| 293 { | 293 { |
| 294 m_descendantsHaveSameLineHeightAndBaseline = false; | 294 m_descendantsHaveSameLineHeightAndBaseline = false; |
| 295 if (parent() && parent()->descendantsHaveSameLineHeightAndBaseline()) | 295 if (parent() && parent()->descendantsHaveSameLineHeightAndBaseline()) |
| 296 parent()->clearDescendantsHaveSameLineHeightAndBaseline(); | 296 parent()->clearDescendantsHaveSameLineHeightAndBaseline(); |
| 297 } | 297 } |
| 298 | 298 |
| 299 private: | 299 private: |
| 300 void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&); | 300 void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&); |
| 301 void paintMask(PaintInfo&, const LayoutPoint&); | 301 void paintMask(PaintInfo&, const LayoutPoint&); |
| 302 void paintFillLayers(const PaintInfo&, const Color&, const FillLayer*, const
LayoutRect&, CompositeOperator = CompositeSourceOver); | 302 void paintFillLayers(const PaintInfo&, const Color&, const FillLayer&, const
LayoutRect&, CompositeOperator = CompositeSourceOver); |
| 303 void paintFillLayer(const PaintInfo&, const Color&, const FillLayer*, const
LayoutRect&, CompositeOperator = CompositeSourceOver); | 303 void paintFillLayer(const PaintInfo&, const Color&, const FillLayer&, const
LayoutRect&, CompositeOperator = CompositeSourceOver); |
| 304 void paintBoxShadow(const PaintInfo&, RenderStyle*, ShadowStyle, const Layou
tRect&); | 304 void paintBoxShadow(const PaintInfo&, RenderStyle*, ShadowStyle, const Layou
tRect&); |
| 305 | 305 |
| 306 void addBoxShadowVisualOverflow(LayoutRect& logicalVisualOverflow); | 306 void addBoxShadowVisualOverflow(LayoutRect& logicalVisualOverflow); |
| 307 void addBorderOutsetVisualOverflow(LayoutRect& logicalVisualOverflow); | 307 void addBorderOutsetVisualOverflow(LayoutRect& logicalVisualOverflow); |
| 308 void addOutlineVisualOverflow(LayoutRect& logicalVisualOverflow); | 308 void addOutlineVisualOverflow(LayoutRect& logicalVisualOverflow); |
| 309 void addTextBoxVisualOverflow(InlineTextBox*, GlyphOverflowAndFallbackFontsM
ap&, LayoutRect& logicalVisualOverflow); | 309 void addTextBoxVisualOverflow(InlineTextBox*, GlyphOverflowAndFallbackFontsM
ap&, LayoutRect& logicalVisualOverflow); |
| 310 void addReplacedChildOverflow(const InlineBox*, LayoutRect& logicalLayoutOve
rflow, LayoutRect& logicalVisualOverflow); | 310 void addReplacedChildOverflow(const InlineBox*, LayoutRect& logicalLayoutOve
rflow, LayoutRect& logicalVisualOverflow); |
| 311 void constrainToLineTopAndBottomIfNeeded(LayoutRect&) const; | 311 void constrainToLineTopAndBottomIfNeeded(LayoutRect&) const; |
| 312 | 312 |
| 313 void setLayoutOverflow(const LayoutRect&, const LayoutRect&); | 313 void setLayoutOverflow(const LayoutRect&, const LayoutRect&); |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 } | 373 } |
| 374 | 374 |
| 375 } // namespace WebCore | 375 } // namespace WebCore |
| 376 | 376 |
| 377 #ifndef NDEBUG | 377 #ifndef NDEBUG |
| 378 // Outside the WebCore namespace for ease of invocation from gdb. | 378 // Outside the WebCore namespace for ease of invocation from gdb. |
| 379 void showTree(const WebCore::InlineFlowBox*); | 379 void showTree(const WebCore::InlineFlowBox*); |
| 380 #endif | 380 #endif |
| 381 | 381 |
| 382 #endif // InlineFlowBox_h | 382 #endif // InlineFlowBox_h |
| OLD | NEW |