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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 | 50 |
51 private: | 51 private: |
52 Vector<bool> m_preventResize; | 52 Vector<bool> m_preventResize; |
53 Vector<bool> m_allowBorder; | 53 Vector<bool> m_allowBorder; |
54 }; | 54 }; |
55 | 55 |
56 class RenderFrameSet final : public RenderBox { | 56 class RenderFrameSet final : public RenderBox { |
57 public: | 57 public: |
58 RenderFrameSet(HTMLFrameSetElement*); | 58 RenderFrameSet(HTMLFrameSetElement*); |
59 virtual ~RenderFrameSet(); | 59 virtual ~RenderFrameSet(); |
60 virtual void trace(Visitor*) override; | |
61 | 60 |
62 RenderObject* firstChild() const { ASSERT(children() == virtualChildren());
return children()->firstChild(); } | 61 RenderObject* firstChild() const { ASSERT(children() == virtualChildren());
return children()->firstChild(); } |
63 RenderObject* lastChild() const { ASSERT(children() == virtualChildren()); r
eturn children()->lastChild(); } | 62 RenderObject* lastChild() const { ASSERT(children() == virtualChildren()); r
eturn children()->lastChild(); } |
64 | 63 |
65 // If you have a RenderFrameSet, use firstChild or lastChild instead. | 64 // If you have a RenderFrameSet, use firstChild or lastChild instead. |
66 void slowFirstChild() const = delete; | 65 void slowFirstChild() const = delete; |
67 void slowLastChild() const = delete; | 66 void slowLastChild() const = delete; |
68 | 67 |
69 const RenderObjectChildList* children() const { return &m_children; } | 68 const RenderObjectChildList* children() const { return &m_children; } |
70 RenderObjectChildList* children() { return &m_children; } | 69 RenderObjectChildList* children() { return &m_children; } |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 | 130 |
132 bool m_isResizing; | 131 bool m_isResizing; |
133 bool m_isChildResizing; | 132 bool m_isChildResizing; |
134 }; | 133 }; |
135 | 134 |
136 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderFrameSet, isFrameSet()); | 135 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderFrameSet, isFrameSet()); |
137 | 136 |
138 } // namespace blink | 137 } // namespace blink |
139 | 138 |
140 #endif // RenderFrameSet_h | 139 #endif // RenderFrameSet_h |
OLD | NEW |