| 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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 bool descendantsHaveSameLineHeightAndBaseline() const { return m_descendants
HaveSameLineHeightAndBaseline; } | 284 bool descendantsHaveSameLineHeightAndBaseline() const { return m_descendants
HaveSameLineHeightAndBaseline; } |
| 285 void clearDescendantsHaveSameLineHeightAndBaseline() | 285 void clearDescendantsHaveSameLineHeightAndBaseline() |
| 286 { | 286 { |
| 287 m_descendantsHaveSameLineHeightAndBaseline = false; | 287 m_descendantsHaveSameLineHeightAndBaseline = false; |
| 288 if (parent() && parent()->descendantsHaveSameLineHeightAndBaseline()) | 288 if (parent() && parent()->descendantsHaveSameLineHeightAndBaseline()) |
| 289 parent()->clearDescendantsHaveSameLineHeightAndBaseline(); | 289 parent()->clearDescendantsHaveSameLineHeightAndBaseline(); |
| 290 } | 290 } |
| 291 | 291 |
| 292 private: | 292 private: |
| 293 void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&); | 293 void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&); |
| 294 void paintMask(PaintInfo&, const LayoutPoint&); | |
| 295 void paintFillLayers(const PaintInfo&, const Color&, const FillLayer&, const
LayoutRect&); | 294 void paintFillLayers(const PaintInfo&, const Color&, const FillLayer&, const
LayoutRect&); |
| 296 void paintFillLayer(const PaintInfo&, const Color&, const FillLayer&, const
LayoutRect&); | 295 void paintFillLayer(const PaintInfo&, const Color&, const FillLayer&, const
LayoutRect&); |
| 297 void paintBoxShadow(const PaintInfo&, RenderStyle*, ShadowStyle, const Layou
tRect&); | 296 void paintBoxShadow(const PaintInfo&, RenderStyle*, ShadowStyle, const Layou
tRect&); |
| 298 | 297 |
| 299 void addBoxShadowVisualOverflow(LayoutRect& logicalVisualOverflow); | 298 void addBoxShadowVisualOverflow(LayoutRect& logicalVisualOverflow); |
| 300 void addBorderOutsetVisualOverflow(LayoutRect& logicalVisualOverflow); | 299 void addBorderOutsetVisualOverflow(LayoutRect& logicalVisualOverflow); |
| 301 void addOutlineVisualOverflow(LayoutRect& logicalVisualOverflow); | 300 void addOutlineVisualOverflow(LayoutRect& logicalVisualOverflow); |
| 302 void addTextBoxVisualOverflow(InlineTextBox*, GlyphOverflowAndFallbackFontsM
ap&, LayoutRect& logicalVisualOverflow); | 301 void addTextBoxVisualOverflow(InlineTextBox*, GlyphOverflowAndFallbackFontsM
ap&, LayoutRect& logicalVisualOverflow); |
| 303 void addReplacedChildOverflow(const InlineBox*, LayoutRect& logicalLayoutOve
rflow, LayoutRect& logicalVisualOverflow); | 302 void addReplacedChildOverflow(const InlineBox*, LayoutRect& logicalLayoutOve
rflow, LayoutRect& logicalVisualOverflow); |
| 304 | 303 |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 } | 364 } |
| 366 | 365 |
| 367 } // namespace blink | 366 } // namespace blink |
| 368 | 367 |
| 369 #ifndef NDEBUG | 368 #ifndef NDEBUG |
| 370 // Outside the WebCore namespace for ease of invocation from gdb. | 369 // Outside the WebCore namespace for ease of invocation from gdb. |
| 371 void showTree(const blink::InlineFlowBox*); | 370 void showTree(const blink::InlineFlowBox*); |
| 372 #endif | 371 #endif |
| 373 | 372 |
| 374 #endif // SKY_ENGINE_CORE_RENDERING_INLINEFLOWBOX_H_ | 373 #endif // SKY_ENGINE_CORE_RENDERING_INLINEFLOWBOX_H_ |
| OLD | NEW |