| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 | 116 |
| 117 // FIXME: We shouldn't allow access to m_overflowRect outside this class. | 117 // FIXME: We shouldn't allow access to m_overflowRect outside this class. |
| 118 LayoutRect overflowRect() const { return m_overflowRect; } | 118 LayoutRect overflowRect() const { return m_overflowRect; } |
| 119 | 119 |
| 120 void scrollToOffset(const IntSize& scrollOffset, ScrollOffsetClamping = Scro
llOffsetUnclamped); | 120 void scrollToOffset(const IntSize& scrollOffset, ScrollOffsetClamping = Scro
llOffsetUnclamped); |
| 121 void scrollToXOffset(int x, ScrollOffsetClamping clamp = ScrollOffsetUnclamp
ed) { scrollToOffset(IntSize(x, scrollYOffset()), clamp); } | 121 void scrollToXOffset(int x, ScrollOffsetClamping clamp = ScrollOffsetUnclamp
ed) { scrollToOffset(IntSize(x, scrollYOffset()), clamp); } |
| 122 void scrollToYOffset(int y, ScrollOffsetClamping clamp = ScrollOffsetUnclamp
ed) { scrollToOffset(IntSize(scrollXOffset(), y), clamp); } | 122 void scrollToYOffset(int y, ScrollOffsetClamping clamp = ScrollOffsetUnclamp
ed) { scrollToOffset(IntSize(scrollXOffset(), y), clamp); } |
| 123 | 123 |
| 124 void updateAfterLayout(); | 124 void updateAfterLayout(); |
| 125 void updateAfterStyleChange(const RenderStyle*); | 125 void updateAfterStyleChange(const RenderStyle*); |
| 126 void updateAfterOverflowRecalc(); |
| 126 | 127 |
| 127 virtual void updateAfterCompositingChange() OVERRIDE; | 128 virtual void updateAfterCompositingChange() OVERRIDE; |
| 128 | 129 |
| 129 bool hasScrollbar() const { return m_hBar || m_vBar; } | 130 bool hasScrollbar() const { return m_hBar || m_vBar; } |
| 130 | 131 |
| 131 // FIXME: This should be removed. | 132 // FIXME: This should be removed. |
| 132 bool hasScrollCorner() const { return m_scrollCorner; } | 133 bool hasScrollCorner() const { return m_scrollCorner; } |
| 133 | 134 |
| 134 void resize(const PlatformEvent&, const LayoutSize&); | 135 void resize(const PlatformEvent&, const LayoutSize&); |
| 135 IntSize offsetFromResizeCorner(const IntPoint& absolutePoint) const; | 136 IntSize offsetFromResizeCorner(const IntPoint& absolutePoint) const; |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 // Renderers to hold our custom scroll corner. | 254 // Renderers to hold our custom scroll corner. |
| 254 RenderScrollbarPart* m_scrollCorner; | 255 RenderScrollbarPart* m_scrollCorner; |
| 255 | 256 |
| 256 // Renderers to hold our custom resizer. | 257 // Renderers to hold our custom resizer. |
| 257 RenderScrollbarPart* m_resizer; | 258 RenderScrollbarPart* m_resizer; |
| 258 }; | 259 }; |
| 259 | 260 |
| 260 } // Namespace WebCore | 261 } // Namespace WebCore |
| 261 | 262 |
| 262 #endif // RenderLayerScrollableArea_h | 263 #endif // RenderLayerScrollableArea_h |
| OLD | NEW |