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, 2009, 2013 Apple Inc. All rights
reserved. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect&) const override; | 274 bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect&) const override; |
275 | 275 |
276 struct CollapsedBorderValues { | 276 struct CollapsedBorderValues { |
277 CollapsedBorderValue startBorder; | 277 CollapsedBorderValue startBorder; |
278 CollapsedBorderValue endBorder; | 278 CollapsedBorderValue endBorder; |
279 CollapsedBorderValue beforeBorder; | 279 CollapsedBorderValue beforeBorder; |
280 CollapsedBorderValue afterBorder; | 280 CollapsedBorderValue afterBorder; |
281 }; | 281 }; |
282 const CollapsedBorderValues* collapsedBorderValues() const { return m_collap
sedBorderValues.get(); } | 282 const CollapsedBorderValues* collapsedBorderValues() const { return m_collap
sedBorderValues.get(); } |
283 | 283 |
| 284 LayoutRect debugRect() const override; |
| 285 |
| 286 void adjustChildDebugRect(LayoutRect&) const override; |
| 287 |
284 protected: | 288 protected: |
285 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; | 289 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; |
286 void computePreferredLogicalWidths() override; | 290 void computePreferredLogicalWidths() override; |
287 | 291 |
288 void addLayerHitTestRects(LayerHitTestRects&, const PaintLayer* currentCompo
sitedLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) con
st override; | 292 void addLayerHitTestRects(LayerHitTestRects&, const PaintLayer* currentCompo
sitedLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) con
st override; |
289 | 293 |
290 private: | 294 private: |
291 bool isOfType(LayoutObjectType type) const override { return type == LayoutO
bjectTableCell || LayoutBlockFlow::isOfType(type); } | 295 bool isOfType(LayoutObjectType type) const override { return type == LayoutO
bjectTableCell || LayoutBlockFlow::isOfType(type); } |
292 | 296 |
293 void willBeRemovedFromTree() override; | 297 void willBeRemovedFromTree() override; |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 } | 391 } |
388 | 392 |
389 inline LayoutTableCell* LayoutTableRow::lastCell() const | 393 inline LayoutTableCell* LayoutTableRow::lastCell() const |
390 { | 394 { |
391 return toLayoutTableCell(lastChild()); | 395 return toLayoutTableCell(lastChild()); |
392 } | 396 } |
393 | 397 |
394 } // namespace blink | 398 } // namespace blink |
395 | 399 |
396 #endif // LayoutTableCell_h | 400 #endif // LayoutTableCell_h |
OLD | NEW |