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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 LayoutUnit scrollWidth() const; | 164 LayoutUnit scrollWidth() const; |
165 LayoutUnit scrollHeight() const; | 165 LayoutUnit scrollHeight() const; |
166 int pixelSnappedScrollWidth() const; | 166 int pixelSnappedScrollWidth() const; |
167 int pixelSnappedScrollHeight() const; | 167 int pixelSnappedScrollHeight() const; |
168 | 168 |
169 int verticalScrollbarWidth(OverlayScrollbarSizeRelevancy = IgnoreOverlayScro
llbarSize) const; | 169 int verticalScrollbarWidth(OverlayScrollbarSizeRelevancy = IgnoreOverlayScro
llbarSize) const; |
170 int horizontalScrollbarHeight(OverlayScrollbarSizeRelevancy = IgnoreOverlayS
crollbarSize) const; | 170 int horizontalScrollbarHeight(OverlayScrollbarSizeRelevancy = IgnoreOverlayS
crollbarSize) const; |
171 | 171 |
172 DoubleSize adjustedScrollOffset() const { return DoubleSize(scrollXOffset(),
scrollYOffset()); } | 172 DoubleSize adjustedScrollOffset() const { return DoubleSize(scrollXOffset(),
scrollYOffset()); } |
173 | 173 |
174 void positionOverflowControls(const IntSize& offsetFromRoot); | 174 void positionOverflowControls(); |
175 | 175 |
176 // isPointInResizeControl() is used for testing if a pointer/touch position
is in the resize control | 176 // isPointInResizeControl() is used for testing if a pointer/touch position
is in the resize control |
177 // area. | 177 // area. |
178 bool isPointInResizeControl(const IntPoint& absolutePoint, ResizerHitTestTyp
e) const; | 178 bool isPointInResizeControl(const IntPoint& absolutePoint, ResizerHitTestTyp
e) const; |
179 bool hitTestOverflowControls(HitTestResult&, const IntPoint& localPoint); | 179 bool hitTestOverflowControls(HitTestResult&, const IntPoint& localPoint); |
180 | 180 |
181 bool hitTestResizerInFragments(const LayerFragments&, const HitTestLocation&
) const; | 181 bool hitTestResizerInFragments(const LayerFragments&, const HitTestLocation&
) const; |
182 | 182 |
183 LayoutRect exposeRect(const LayoutRect&, const ScrollAlignment& alignX, cons
t ScrollAlignment& alignY); | 183 LayoutRect exposeRect(const LayoutRect&, const ScrollAlignment& alignX, cons
t ScrollAlignment& alignY); |
184 | 184 |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 // Renderers to hold our custom scroll corner. | 279 // Renderers to hold our custom scroll corner. |
280 LayoutScrollbarPart* m_scrollCorner; | 280 LayoutScrollbarPart* m_scrollCorner; |
281 | 281 |
282 // Renderers to hold our custom resizer. | 282 // Renderers to hold our custom resizer. |
283 LayoutScrollbarPart* m_resizer; | 283 LayoutScrollbarPart* m_resizer; |
284 }; | 284 }; |
285 | 285 |
286 } // namespace blink | 286 } // namespace blink |
287 | 287 |
288 #endif // LayerScrollableArea_h | 288 #endif // LayerScrollableArea_h |
OLD | NEW |