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, 2009, 2010 Apple Inc. All rights reserv
ed. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2009, 2010 Apple Inc. All rights reserv
ed. |
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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 } | 262 } |
263 | 263 |
264 const BorderValue& tableStartBorderAdjoiningCell(const RenderTableCell*) con
st; | 264 const BorderValue& tableStartBorderAdjoiningCell(const RenderTableCell*) con
st; |
265 const BorderValue& tableEndBorderAdjoiningCell(const RenderTableCell*) const
; | 265 const BorderValue& tableEndBorderAdjoiningCell(const RenderTableCell*) const
; |
266 | 266 |
267 void addCaption(const RenderTableCaption*); | 267 void addCaption(const RenderTableCaption*); |
268 void removeCaption(const RenderTableCaption*); | 268 void removeCaption(const RenderTableCaption*); |
269 void addColumn(const RenderTableCol*); | 269 void addColumn(const RenderTableCol*); |
270 void removeColumn(const RenderTableCol*); | 270 void removeColumn(const RenderTableCol*); |
271 | 271 |
272 // FIXME: this method should be moved into TablePainter. | 272 virtual void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&) ov
erride final; |
273 virtual void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&) ov
erride; | |
274 | 273 |
275 virtual void paintMask(PaintInfo&, const LayoutPoint&) override; | 274 virtual void paintMask(PaintInfo&, const LayoutPoint&) override final; |
276 | 275 |
277 const CollapsedBorderValues& collapsedBorders() { return m_collapsedBorders;
} | 276 const CollapsedBorderValues& collapsedBorders() { return m_collapsedBorders;
} |
278 void subtractCaptionRect(LayoutRect&) const; | 277 void subtractCaptionRect(LayoutRect&) const; |
279 void recalcCollapsedBorders(); | 278 void recalcCollapsedBorders(); |
280 | 279 |
281 protected: | 280 protected: |
282 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) ov
erride; | 281 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) ov
erride; |
283 virtual void simplifiedNormalFlowLayout() override; | 282 virtual void simplifiedNormalFlowLayout() override; |
284 | 283 |
285 private: | 284 private: |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 if (m_firstBody) | 360 if (m_firstBody) |
362 return m_firstBody; | 361 return m_firstBody; |
363 return m_foot; | 362 return m_foot; |
364 } | 363 } |
365 | 364 |
366 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTable, isTable()); | 365 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTable, isTable()); |
367 | 366 |
368 } // namespace blink | 367 } // namespace blink |
369 | 368 |
370 #endif // RenderTable_h | 369 #endif // RenderTable_h |
OLD | NEW |