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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 RenderObject* firstChild() const { ASSERT(children() == virtualChildren());
return children()->firstChild(); } | 62 RenderObject* firstChild() const { ASSERT(children() == virtualChildren());
return children()->firstChild(); } |
63 RenderObject* lastChild() const { ASSERT(children() == virtualChildren()); r
eturn children()->lastChild(); } | 63 RenderObject* lastChild() const { ASSERT(children() == virtualChildren()); r
eturn children()->lastChild(); } |
64 | 64 |
65 const RenderObjectChildList* children() const { return &m_children; } | 65 const RenderObjectChildList* children() const { return &m_children; } |
66 RenderObjectChildList* children() { return &m_children; } | 66 RenderObjectChildList* children() { return &m_children; } |
67 | 67 |
68 FrameEdgeInfo edgeInfo() const; | 68 FrameEdgeInfo edgeInfo() const; |
69 | 69 |
70 bool userResize(MouseEvent*); | 70 bool userResize(MouseEvent*); |
71 | 71 |
72 bool isResizingRow() const; | |
73 bool isResizingColumn() const; | |
74 | |
75 bool canResizeRow(const IntPoint&) const; | 72 bool canResizeRow(const IntPoint&) const; |
76 bool canResizeColumn(const IntPoint&) const; | 73 bool canResizeColumn(const IntPoint&) const; |
77 | 74 |
78 void notifyFrameEdgeInfoChanged(); | 75 void notifyFrameEdgeInfoChanged(); |
79 | 76 |
80 private: | 77 private: |
81 static const int noSplit = -1; | 78 static const int noSplit = -1; |
82 | 79 |
83 class GridAxis { | 80 class GridAxis { |
84 WTF_MAKE_NONCOPYABLE(GridAxis); | 81 WTF_MAKE_NONCOPYABLE(GridAxis); |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 | 127 |
131 bool m_isResizing; | 128 bool m_isResizing; |
132 bool m_isChildResizing; | 129 bool m_isChildResizing; |
133 }; | 130 }; |
134 | 131 |
135 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderFrameSet, isFrameSet()); | 132 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderFrameSet, isFrameSet()); |
136 | 133 |
137 } // namespace WebCore | 134 } // namespace WebCore |
138 | 135 |
139 #endif // RenderFrameSet_h | 136 #endif // RenderFrameSet_h |
OLD | NEW |