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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 LayoutUnit horizontalScrollbarStart(int minX) const; | 202 LayoutUnit horizontalScrollbarStart(int minX) const; |
203 IntSize scrollbarOffset(const Scrollbar*) const; | 203 IntSize scrollbarOffset(const Scrollbar*) const; |
204 | 204 |
205 PassRefPtr<Scrollbar> createScrollbar(ScrollbarOrientation); | 205 PassRefPtr<Scrollbar> createScrollbar(ScrollbarOrientation); |
206 void destroyScrollbar(ScrollbarOrientation); | 206 void destroyScrollbar(ScrollbarOrientation); |
207 | 207 |
208 void setHasHorizontalScrollbar(bool hasScrollbar); | 208 void setHasHorizontalScrollbar(bool hasScrollbar); |
209 void setHasVerticalScrollbar(bool hasScrollbar); | 209 void setHasVerticalScrollbar(bool hasScrollbar); |
210 | 210 |
211 void updateScrollCornerStyle(); | 211 void updateScrollCornerStyle(); |
| 212 IntSize minimumSizeForResizing(); |
212 | 213 |
213 // See comments on isPointInResizeControl. | 214 // See comments on isPointInResizeControl. |
214 IntRect resizerCornerRect(const IntRect&, ResizerHitTestType) const; | 215 IntRect resizerCornerRect(const IntRect&, ResizerHitTestType) const; |
215 bool overflowControlsIntersectRect(const IntRect& localRect) const; | 216 bool overflowControlsIntersectRect(const IntRect& localRect) const; |
216 void updateResizerAreaSet(); | 217 void updateResizerAreaSet(); |
217 void updateResizerStyle(); | 218 void updateResizerStyle(); |
218 void drawPlatformResizerImage(GraphicsContext*, IntRect resizerCornerRect); | 219 void drawPlatformResizerImage(GraphicsContext*, IntRect resizerCornerRect); |
219 | 220 |
220 RenderLayer* layer() const; | 221 RenderLayer* layer() const; |
221 | 222 |
(...skipping 33 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 |