OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1997 Martin Jones (mjones@kde.org) | 2 * Copyright (C) 1997 Martin Jones (mjones@kde.org) |
3 * (C) 1997 Torben Weis (weis@kde.org) | 3 * (C) 1997 Torben Weis (weis@kde.org) |
4 * (C) 1998 Waldo Bastian (bastian@kde.org) | 4 * (C) 1998 Waldo Bastian (bastian@kde.org) |
5 * (C) 1999 Lars Knoll (knoll@kde.org) | 5 * (C) 1999 Lars Knoll (knoll@kde.org) |
6 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 6 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc.
All rights reserved. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc.
All rights reserved. |
8 * | 8 * |
9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 } | 209 } |
210 | 210 |
211 return false; | 211 return false; |
212 } | 212 } |
213 | 213 |
214 void LayoutTableRow::paint(const PaintInfo& paintInfo, const LayoutPoint& paintO
ffset) const | 214 void LayoutTableRow::paint(const PaintInfo& paintInfo, const LayoutPoint& paintO
ffset) const |
215 { | 215 { |
216 TableRowPainter(*this).paint(paintInfo, paintOffset); | 216 TableRowPainter(*this).paint(paintInfo, paintOffset); |
217 } | 217 } |
218 | 218 |
219 void LayoutTableRow::imageChanged(WrappedImagePtr, const IntRect*) | 219 void LayoutTableRow::imageChanged(bool, WrappedImagePtr, const IntRect*) |
220 { | 220 { |
221 // FIXME: Examine cells and issue paint invalidations of only the rect the i
mage paints in. | 221 // FIXME: Examine cells and issue paint invalidations of only the rect the i
mage paints in. |
222 setShouldDoFullPaintInvalidation(); | 222 setShouldDoFullPaintInvalidation(); |
223 } | 223 } |
224 | 224 |
225 LayoutTableRow* LayoutTableRow::createAnonymous(Document* document) | 225 LayoutTableRow* LayoutTableRow::createAnonymous(Document* document) |
226 { | 226 { |
227 LayoutTableRow* layoutObject = new LayoutTableRow(nullptr); | 227 LayoutTableRow* layoutObject = new LayoutTableRow(nullptr); |
228 layoutObject->setDocumentForAnonymous(document); | 228 layoutObject->setDocumentForAnonymous(document); |
229 return layoutObject; | 229 return layoutObject; |
(...skipping 19 matching lines...) Expand all Loading... |
249 // The cell and the row share the section's coordinate system. However | 249 // The cell and the row share the section's coordinate system. However |
250 // the visual overflow should be determined in the coordinate system of | 250 // the visual overflow should be determined in the coordinate system of |
251 // the row, that's why we shift it below. | 251 // the row, that's why we shift it below. |
252 LayoutUnit cellOffsetLogicalTopDifference = cell->location().y() - location(
).y(); | 252 LayoutUnit cellOffsetLogicalTopDifference = cell->location().y() - location(
).y(); |
253 cellVisualOverflowRect.move(LayoutUnit(), cellOffsetLogicalTopDifference); | 253 cellVisualOverflowRect.move(LayoutUnit(), cellOffsetLogicalTopDifference); |
254 | 254 |
255 addVisualOverflow(cellVisualOverflowRect); | 255 addVisualOverflow(cellVisualOverflowRect); |
256 } | 256 } |
257 | 257 |
258 } // namespace blink | 258 } // namespace blink |
OLD | NEW |