| 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 GraphicsLayer* layerForHorizontalScrollbar() const override; | 186 GraphicsLayer* layerForHorizontalScrollbar() const override; |
| 187 GraphicsLayer* layerForVerticalScrollbar() const override; | 187 GraphicsLayer* layerForVerticalScrollbar() const override; |
| 188 GraphicsLayer* layerForScrollCorner() const override; | 188 GraphicsLayer* layerForScrollCorner() const override; |
| 189 | 189 |
| 190 bool usesCompositedScrolling() const override; | 190 bool usesCompositedScrolling() const override; |
| 191 void scrollControlWasSetNeedsPaintInvalidation() override; | 191 void scrollControlWasSetNeedsPaintInvalidation() override; |
| 192 bool shouldUseIntegerScrollOffset() const override; | 192 bool shouldUseIntegerScrollOffset() const override; |
| 193 bool isActive() const override; | 193 bool isActive() const override; |
| 194 bool isScrollCornerVisible() const override; | 194 bool isScrollCornerVisible() const override; |
| 195 IntRect scrollCornerRect() const override; | 195 IntRect scrollCornerRect() const override; |
| 196 IntRect convertFromScrollbarToContainingWidget(const Scrollbar*, const IntRe
ct&) const override; | 196 IntRect convertFromScrollbarToContainingWidget(const Scrollbar&, const IntRe
ct&) const override; |
| 197 IntRect convertFromContainingWidgetToScrollbar(const Scrollbar*, const IntRe
ct&) const override; | 197 IntRect convertFromContainingWidgetToScrollbar(const Scrollbar&, const IntRe
ct&) const override; |
| 198 IntPoint convertFromScrollbarToContainingWidget(const Scrollbar*, const IntP
oint&) const override; | 198 IntPoint convertFromScrollbarToContainingWidget(const Scrollbar&, const IntP
oint&) const override; |
| 199 IntPoint convertFromContainingWidgetToScrollbar(const Scrollbar*, const IntP
oint&) const override; | 199 IntPoint convertFromContainingWidgetToScrollbar(const Scrollbar&, const IntP
oint&) const override; |
| 200 int scrollSize(ScrollbarOrientation) const override; | 200 int scrollSize(ScrollbarOrientation) const override; |
| 201 IntPoint scrollPosition() const override; | 201 IntPoint scrollPosition() const override; |
| 202 DoublePoint scrollPositionDouble() const override; | 202 DoublePoint scrollPositionDouble() const override; |
| 203 IntPoint minimumScrollPosition() const override; | 203 IntPoint minimumScrollPosition() const override; |
| 204 IntPoint maximumScrollPosition() const override; | 204 IntPoint maximumScrollPosition() const override; |
| 205 IntRect visibleContentRect(IncludeScrollbarsInRect = ExcludeScrollbars) cons
t override; | 205 IntRect visibleContentRect(IncludeScrollbarsInRect = ExcludeScrollbars) cons
t override; |
| 206 int visibleHeight() const override; | 206 int visibleHeight() const override; |
| 207 int visibleWidth() const override; | 207 int visibleWidth() const override; |
| 208 IntSize contentsSize() const override; | 208 IntSize contentsSize() const override; |
| 209 IntPoint lastKnownMousePosition() const override; | 209 IntPoint lastKnownMousePosition() const override; |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 | 341 |
| 342 bool needsScrollbarReconstruction() const; | 342 bool needsScrollbarReconstruction() const; |
| 343 | 343 |
| 344 void computeScrollDimensions(); | 344 void computeScrollDimensions(); |
| 345 | 345 |
| 346 void setScrollOffset(const IntPoint&, ScrollType) override; | 346 void setScrollOffset(const IntPoint&, ScrollType) override; |
| 347 void setScrollOffset(const DoublePoint&, ScrollType) override; | 347 void setScrollOffset(const DoublePoint&, ScrollType) override; |
| 348 | 348 |
| 349 LayoutUnit verticalScrollbarStart(int minX, int maxX) const; | 349 LayoutUnit verticalScrollbarStart(int minX, int maxX) const; |
| 350 LayoutUnit horizontalScrollbarStart(int minX) const; | 350 LayoutUnit horizontalScrollbarStart(int minX) const; |
| 351 IntSize scrollbarOffset(const Scrollbar*) const; | 351 IntSize scrollbarOffset(const Scrollbar&) const; |
| 352 | 352 |
| 353 void setHasHorizontalScrollbar(bool hasScrollbar); | 353 void setHasHorizontalScrollbar(bool hasScrollbar); |
| 354 void setHasVerticalScrollbar(bool hasScrollbar); | 354 void setHasVerticalScrollbar(bool hasScrollbar); |
| 355 | 355 |
| 356 void updateScrollCornerStyle(); | 356 void updateScrollCornerStyle(); |
| 357 | 357 |
| 358 // See comments on isPointInResizeControl. | 358 // See comments on isPointInResizeControl. |
| 359 void updateResizerAreaSet(); | 359 void updateResizerAreaSet(); |
| 360 void updateResizerStyle(); | 360 void updateResizerStyle(); |
| 361 | 361 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 LayoutScrollbarPart* m_resizer; | 403 LayoutScrollbarPart* m_resizer; |
| 404 | 404 |
| 405 #if ENABLE(ASSERT) | 405 #if ENABLE(ASSERT) |
| 406 bool m_hasBeenDisposed; | 406 bool m_hasBeenDisposed; |
| 407 #endif | 407 #endif |
| 408 }; | 408 }; |
| 409 | 409 |
| 410 } // namespace blink | 410 } // namespace blink |
| 411 | 411 |
| 412 #endif // LayerScrollableArea_h | 412 #endif // LayerScrollableArea_h |
| OLD | NEW |