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 |
284 protected: | 286 protected: |
285 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; | 287 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; |
286 void computePreferredLogicalWidths() override; | 288 void computePreferredLogicalWidths() override; |
287 | 289 |
288 void addLayerHitTestRects(LayerHitTestRects&, const PaintLayer* currentCompo
sitedLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) con
st override; | 290 void addLayerHitTestRects(LayerHitTestRects&, const PaintLayer* currentCompo
sitedLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) con
st override; |
289 | 291 |
290 private: | 292 private: |
291 bool isOfType(LayoutObjectType type) const override { return type == LayoutO
bjectTableCell || LayoutBlockFlow::isOfType(type); } | 293 bool isOfType(LayoutObjectType type) const override { return type == LayoutO
bjectTableCell || LayoutBlockFlow::isOfType(type); } |
292 | 294 |
293 void willBeRemovedFromTree() override; | 295 void willBeRemovedFromTree() override; |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 } | 389 } |
388 | 390 |
389 inline LayoutTableCell* LayoutTableRow::lastCell() const | 391 inline LayoutTableCell* LayoutTableRow::lastCell() const |
390 { | 392 { |
391 return toLayoutTableCell(lastChild()); | 393 return toLayoutTableCell(lastChild()); |
392 } | 394 } |
393 | 395 |
394 } // namespace blink | 396 } // namespace blink |
395 | 397 |
396 #endif // LayoutTableCell_h | 398 #endif // LayoutTableCell_h |
OLD | NEW |