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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 LayoutUnit horizontalScrollbarStart(int minX) const; | 205 LayoutUnit horizontalScrollbarStart(int minX) const; |
206 IntSize scrollbarOffset(const Scrollbar*) const; | 206 IntSize scrollbarOffset(const Scrollbar*) const; |
207 | 207 |
208 PassRefPtr<Scrollbar> createScrollbar(ScrollbarOrientation); | 208 PassRefPtr<Scrollbar> createScrollbar(ScrollbarOrientation); |
209 void destroyScrollbar(ScrollbarOrientation); | 209 void destroyScrollbar(ScrollbarOrientation); |
210 | 210 |
211 void setHasHorizontalScrollbar(bool hasScrollbar); | 211 void setHasHorizontalScrollbar(bool hasScrollbar); |
212 void setHasVerticalScrollbar(bool hasScrollbar); | 212 void setHasVerticalScrollbar(bool hasScrollbar); |
213 | 213 |
214 void updateScrollCornerStyle(); | 214 void updateScrollCornerStyle(); |
| 215 IntSize minimumSizeForResizing(); |
215 | 216 |
216 // See comments on isPointInResizeControl. | 217 // See comments on isPointInResizeControl. |
217 IntRect resizerCornerRect(const IntRect&, ResizerHitTestType) const; | 218 IntRect resizerCornerRect(const IntRect&, ResizerHitTestType) const; |
218 bool overflowControlsIntersectRect(const IntRect& localRect) const; | 219 bool overflowControlsIntersectRect(const IntRect& localRect) const; |
219 void updateResizerAreaSet(); | 220 void updateResizerAreaSet(); |
220 void updateResizerStyle(); | 221 void updateResizerStyle(); |
221 void drawPlatformResizerImage(GraphicsContext*, IntRect resizerCornerRect); | 222 void drawPlatformResizerImage(GraphicsContext*, IntRect resizerCornerRect); |
222 | 223 |
223 RenderBox& box() const; | 224 RenderBox& box() const; |
224 RenderLayer* layer() const; | 225 RenderLayer* layer() const; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 // Renderers to hold our custom scroll corner. | 260 // Renderers to hold our custom scroll corner. |
260 RenderScrollbarPart* m_scrollCorner; | 261 RenderScrollbarPart* m_scrollCorner; |
261 | 262 |
262 // Renderers to hold our custom resizer. | 263 // Renderers to hold our custom resizer. |
263 RenderScrollbarPart* m_resizer; | 264 RenderScrollbarPart* m_resizer; |
264 }; | 265 }; |
265 | 266 |
266 } // Namespace WebCore | 267 } // Namespace WebCore |
267 | 268 |
268 #endif // RenderLayerScrollableArea_h | 269 #endif // RenderLayerScrollableArea_h |
OLD | NEW |