OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
5 * | 5 * |
6 * Other contributors: | 6 * Other contributors: |
7 * Robert O'Callahan <roc+@cs.cmu.edu> | 7 * Robert O'Callahan <roc+@cs.cmu.edu> |
8 * David Baron <dbaron@fas.harvard.edu> | 8 * David Baron <dbaron@fas.harvard.edu> |
9 * Christian Biesinger <cbiesinger@web.de> | 9 * Christian Biesinger <cbiesinger@web.de> |
10 * Randall Jesup <rjesup@wgate.com> | 10 * Randall Jesup <rjesup@wgate.com> |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 | 118 |
119 // FIXME: We shouldn't allow access to m_overflowRect outside this class. | 119 // FIXME: We shouldn't allow access to m_overflowRect outside this class. |
120 LayoutRect overflowRect() const { return m_overflowRect; } | 120 LayoutRect overflowRect() const { return m_overflowRect; } |
121 | 121 |
122 void scrollToOffset(const IntSize& scrollOffset, ScrollOffsetClamping = Scro
llOffsetUnclamped); | 122 void scrollToOffset(const IntSize& scrollOffset, ScrollOffsetClamping = Scro
llOffsetUnclamped); |
123 void scrollToXOffset(int x, ScrollOffsetClamping clamp = ScrollOffsetUnclamp
ed) { scrollToOffset(IntSize(x, scrollYOffset()), clamp); } | 123 void scrollToXOffset(int x, ScrollOffsetClamping clamp = ScrollOffsetUnclamp
ed) { scrollToOffset(IntSize(x, scrollYOffset()), clamp); } |
124 void scrollToYOffset(int y, ScrollOffsetClamping clamp = ScrollOffsetUnclamp
ed) { scrollToOffset(IntSize(scrollXOffset(), y), clamp); } | 124 void scrollToYOffset(int y, ScrollOffsetClamping clamp = ScrollOffsetUnclamp
ed) { scrollToOffset(IntSize(scrollXOffset(), y), clamp); } |
125 | 125 |
126 void updateAfterLayout(); | 126 void updateAfterLayout(); |
127 void updateAfterStyleChange(const RenderStyle*); | 127 void updateAfterStyleChange(const RenderStyle*); |
| 128 void updateAfterOverflowRecalc(); |
128 | 129 |
129 virtual void updateAfterCompositingChange() OVERRIDE; | 130 virtual void updateAfterCompositingChange() OVERRIDE; |
130 | 131 |
131 bool hasScrollbar() const { return m_hBar || m_vBar; } | 132 bool hasScrollbar() const { return m_hBar || m_vBar; } |
132 | 133 |
133 // FIXME: This should be removed. | 134 // FIXME: This should be removed. |
134 bool hasScrollCorner() const { return m_scrollCorner; } | 135 bool hasScrollCorner() const { return m_scrollCorner; } |
135 | 136 |
136 void resize(const PlatformEvent&, const LayoutSize&); | 137 void resize(const PlatformEvent&, const LayoutSize&); |
137 IntSize offsetFromResizeCorner(const IntPoint& absolutePoint) const; | 138 IntSize offsetFromResizeCorner(const IntPoint& absolutePoint) const; |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 // Renderers to hold our custom scroll corner. | 256 // Renderers to hold our custom scroll corner. |
256 RenderScrollbarPart* m_scrollCorner; | 257 RenderScrollbarPart* m_scrollCorner; |
257 | 258 |
258 // Renderers to hold our custom resizer. | 259 // Renderers to hold our custom resizer. |
259 RenderScrollbarPart* m_resizer; | 260 RenderScrollbarPart* m_resizer; |
260 }; | 261 }; |
261 | 262 |
262 } // Namespace WebCore | 263 } // Namespace WebCore |
263 | 264 |
264 #endif // RenderLayerScrollableArea_h | 265 #endif // RenderLayerScrollableArea_h |
OLD | NEW |