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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle)
override; | 285 virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle)
override; |
286 virtual void simplifiedNormalFlowLayout() override; | 286 virtual void simplifiedNormalFlowLayout() override; |
287 | 287 |
288 private: | 288 private: |
289 virtual bool isOfType(LayoutObjectType type) const override { return type ==
LayoutObjectTable || LayoutBlock::isOfType(type); } | 289 virtual bool isOfType(LayoutObjectType type) const override { return type ==
LayoutObjectTable || LayoutBlock::isOfType(type); } |
290 | 290 |
291 virtual void paintObject(const PaintInfo&, const LayoutPoint&) override; | 291 virtual void paintObject(const PaintInfo&, const LayoutPoint&) override; |
292 virtual void layout() override; | 292 virtual void layout() override; |
293 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minWidth, LayoutUnit&
maxWidth) const override; | 293 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minWidth, LayoutUnit&
maxWidth) const override; |
294 virtual void computePreferredLogicalWidths() override; | 294 virtual void computePreferredLogicalWidths() override; |
295 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct
ion) override; | 295 virtual bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInCo
ntainer, const LayoutPoint& accumulatedOffset, HitTestAction) override; |
296 | 296 |
297 virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode
, LinePositionMode = PositionOnContainingLine) const override; | 297 virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode
, LinePositionMode = PositionOnContainingLine) const override; |
298 virtual int firstLineBoxBaseline() const override; | 298 virtual int firstLineBoxBaseline() const override; |
299 virtual int inlineBlockBaseline(LineDirectionMode) const override; | 299 virtual int inlineBlockBaseline(LineDirectionMode) const override; |
300 | 300 |
301 LayoutTableCol* slowColElement(unsigned col, bool* startEdge, bool* endEdge)
const; | 301 LayoutTableCol* slowColElement(unsigned col, bool* startEdge, bool* endEdge)
const; |
302 | 302 |
303 void updateColumnCache() const; | 303 void updateColumnCache() const; |
304 void invalidateCachedColumns(); | 304 void invalidateCachedColumns(); |
305 | 305 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 if (m_firstBody) | 361 if (m_firstBody) |
362 return m_firstBody; | 362 return m_firstBody; |
363 return m_foot; | 363 return m_foot; |
364 } | 364 } |
365 | 365 |
366 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTable, isTable()); | 366 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTable, isTable()); |
367 | 367 |
368 } // namespace blink | 368 } // namespace blink |
369 | 369 |
370 #endif // LayoutTable_h | 370 #endif // LayoutTable_h |
OLD | NEW |