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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 LayoutUnit horizontalScrollbarStart(int minX) const; | 196 LayoutUnit horizontalScrollbarStart(int minX) const; |
197 IntSize scrollbarOffset(const Scrollbar*) const; | 197 IntSize scrollbarOffset(const Scrollbar*) const; |
198 | 198 |
199 PassRefPtr<Scrollbar> createScrollbar(ScrollbarOrientation); | 199 PassRefPtr<Scrollbar> createScrollbar(ScrollbarOrientation); |
200 void destroyScrollbar(ScrollbarOrientation); | 200 void destroyScrollbar(ScrollbarOrientation); |
201 | 201 |
202 void setHasHorizontalScrollbar(bool hasScrollbar); | 202 void setHasHorizontalScrollbar(bool hasScrollbar); |
203 void setHasVerticalScrollbar(bool hasScrollbar); | 203 void setHasVerticalScrollbar(bool hasScrollbar); |
204 | 204 |
205 void updateScrollCornerStyle(); | 205 void updateScrollCornerStyle(); |
206 IntSize minimumSizeForResizing(); | |
207 | 206 |
208 // See comments on isPointInResizeControl. | 207 // See comments on isPointInResizeControl. |
209 IntRect resizerCornerRect(const IntRect&, ResizerHitTestType) const; | 208 IntRect resizerCornerRect(const IntRect&, ResizerHitTestType) const; |
210 bool overflowControlsIntersectRect(const IntRect& localRect) const; | 209 bool overflowControlsIntersectRect(const IntRect& localRect) const; |
211 void updateResizerAreaSet(); | 210 void updateResizerAreaSet(); |
212 void updateResizerStyle(); | 211 void updateResizerStyle(); |
213 void drawPlatformResizerImage(GraphicsContext*, IntRect resizerCornerRect); | 212 void drawPlatformResizerImage(GraphicsContext*, IntRect resizerCornerRect); |
214 | 213 |
215 RenderBox& box() const; | 214 RenderBox& box() const; |
216 RenderLayer* layer() const; | 215 RenderLayer* layer() const; |
(...skipping 26 matching lines...) Expand all Loading... |
243 // Renderers to hold our custom scroll corner. | 242 // Renderers to hold our custom scroll corner. |
244 RenderScrollbarPart* m_scrollCorner; | 243 RenderScrollbarPart* m_scrollCorner; |
245 | 244 |
246 // Renderers to hold our custom resizer. | 245 // Renderers to hold our custom resizer. |
247 RenderScrollbarPart* m_resizer; | 246 RenderScrollbarPart* m_resizer; |
248 }; | 247 }; |
249 | 248 |
250 } // Namespace WebCore | 249 } // Namespace WebCore |
251 | 250 |
252 #endif // RenderLayerScrollableArea_h | 251 #endif // RenderLayerScrollableArea_h |
OLD | NEW |