| 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 Apple Inc. All rights reserved. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2009 Apple Inc. All rights reserved. |
| 8 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 8 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 9 * | 9 * |
| 10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 } | 73 } |
| 74 bool IsTableColumnGroup() const { | 74 bool IsTableColumnGroup() const { |
| 75 return Style()->Display() == EDisplay::kTableColumnGroup; | 75 return Style()->Display() == EDisplay::kTableColumnGroup; |
| 76 } | 76 } |
| 77 | 77 |
| 78 LayoutTableCol* EnclosingColumnGroup() const; | 78 LayoutTableCol* EnclosingColumnGroup() const; |
| 79 | 79 |
| 80 // Returns the next column or column-group. | 80 // Returns the next column or column-group. |
| 81 LayoutTableCol* NextColumn() const; | 81 LayoutTableCol* NextColumn() const; |
| 82 | 82 |
| 83 const BorderValue& BorderAdjoiningCellStartBorder( | 83 BorderValue BorderAdjoiningCellStartBorder(const LayoutTableCell*) const; |
| 84 const LayoutTableCell*) const; | 84 BorderValue BorderAdjoiningCellEndBorder(const LayoutTableCell*) const; |
| 85 const BorderValue& BorderAdjoiningCellEndBorder(const LayoutTableCell*) const; | 85 BorderValue BorderAdjoiningCellBefore(const LayoutTableCell*) const; |
| 86 const BorderValue& BorderAdjoiningCellBefore(const LayoutTableCell*) const; | 86 BorderValue BorderAdjoiningCellAfter(const LayoutTableCell*) const; |
| 87 const BorderValue& BorderAdjoiningCellAfter(const LayoutTableCell*) const; | |
| 88 | 87 |
| 89 const char* GetName() const override { return "LayoutTableCol"; } | 88 const char* GetName() const override { return "LayoutTableCol"; } |
| 90 | 89 |
| 91 private: | 90 private: |
| 92 bool IsOfType(LayoutObjectType type) const override { | 91 bool IsOfType(LayoutObjectType type) const override { |
| 93 return type == kLayoutObjectLayoutTableCol || LayoutBox::IsOfType(type); | 92 return type == kLayoutObjectLayoutTableCol || LayoutBox::IsOfType(type); |
| 94 } | 93 } |
| 95 void UpdateFromElement() override; | 94 void UpdateFromElement() override; |
| 96 void ComputePreferredLogicalWidths() override { NOTREACHED(); } | 95 void ComputePreferredLogicalWidths() override { NOTREACHED(); } |
| 97 | 96 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 109 LayoutTable* Table() const; | 108 LayoutTable* Table() const; |
| 110 | 109 |
| 111 unsigned span_; | 110 unsigned span_; |
| 112 }; | 111 }; |
| 113 | 112 |
| 114 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableCol, IsLayoutTableCol()); | 113 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableCol, IsLayoutTableCol()); |
| 115 | 114 |
| 116 } // namespace blink | 115 } // namespace blink |
| 117 | 116 |
| 118 #endif | 117 #endif |
| OLD | NEW |