| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Simon Hausmann <hausmann@kde.org> | 3 * (C) 2000 Simon Hausmann <hausmann@kde.org> |
| 4 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. | 4 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 Vector<bool> m_allowBorder; | 101 Vector<bool> m_allowBorder; |
| 102 int m_splitBeingResized; | 102 int m_splitBeingResized; |
| 103 int m_splitResizeOffset; | 103 int m_splitResizeOffset; |
| 104 }; | 104 }; |
| 105 | 105 |
| 106 const GridAxis& rows() const { return m_rows; } | 106 const GridAxis& rows() const { return m_rows; } |
| 107 const GridAxis& columns() const { return m_cols; } | 107 const GridAxis& columns() const { return m_cols; } |
| 108 | 108 |
| 109 const char* name() const override { return "LayoutFrameSet"; } | 109 const char* name() const override { return "LayoutFrameSet"; } |
| 110 | 110 |
| 111 char objectSize() const override { return sizeof(this); } |
| 112 |
| 111 private: | 113 private: |
| 112 static const int noSplit = -1; | 114 static const int noSplit = -1; |
| 113 | 115 |
| 114 LayoutObjectChildList* virtualChildren() override { return children(); } | 116 LayoutObjectChildList* virtualChildren() override { return children(); } |
| 115 const LayoutObjectChildList* virtualChildren() const override { | 117 const LayoutObjectChildList* virtualChildren() const override { |
| 116 return children(); | 118 return children(); |
| 117 } | 119 } |
| 118 | 120 |
| 119 bool isOfType(LayoutObjectType type) const override { | 121 bool isOfType(LayoutObjectType type) const override { |
| 120 return type == LayoutObjectFrameSet || LayoutBox::isOfType(type); | 122 return type == LayoutObjectFrameSet || LayoutBox::isOfType(type); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 150 | 152 |
| 151 bool m_isResizing; | 153 bool m_isResizing; |
| 152 bool m_isChildResizing; | 154 bool m_isChildResizing; |
| 153 }; | 155 }; |
| 154 | 156 |
| 155 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutFrameSet, isFrameSet()); | 157 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutFrameSet, isFrameSet()); |
| 156 | 158 |
| 157 } // namespace blink | 159 } // namespace blink |
| 158 | 160 |
| 159 #endif // LayoutFrameSet_h | 161 #endif // LayoutFrameSet_h |
| OLD | NEW |