| 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 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 499 int verticalScrollbarStart(int minX, int maxX) const; | 499 int verticalScrollbarStart(int minX, int maxX) const; |
| 500 int horizontalScrollbarStart(int minX) const; | 500 int horizontalScrollbarStart(int minX) const; |
| 501 IntSize scrollbarOffset(const Scrollbar&) const; | 501 IntSize scrollbarOffset(const Scrollbar&) const; |
| 502 | 502 |
| 503 enum ComputeScrollbarExistenceOption { Default, ForbidAddingAutoBars }; | 503 enum ComputeScrollbarExistenceOption { Default, ForbidAddingAutoBars }; |
| 504 void computeScrollbarExistence( | 504 void computeScrollbarExistence( |
| 505 bool& needsHorizontalScrollbar, | 505 bool& needsHorizontalScrollbar, |
| 506 bool& needsVerticalScrollbar, | 506 bool& needsVerticalScrollbar, |
| 507 ComputeScrollbarExistenceOption = Default) const; | 507 ComputeScrollbarExistenceOption = Default) const; |
| 508 | 508 |
| 509 void setHasHorizontalScrollbar(bool hasScrollbar); | 509 // Returns true iff scrollbar existence changed. |
| 510 void setHasVerticalScrollbar(bool hasScrollbar); | 510 bool setHasHorizontalScrollbar(bool hasScrollbar); |
| 511 bool setHasVerticalScrollbar(bool hasScrollbar); |
| 511 | 512 |
| 512 void updateScrollCornerStyle(); | 513 void updateScrollCornerStyle(); |
| 513 | 514 |
| 514 // See comments on isPointInResizeControl. | 515 // See comments on isPointInResizeControl. |
| 515 void updateResizerAreaSet(); | 516 void updateResizerAreaSet(); |
| 516 void updateResizerStyle(); | 517 void updateResizerStyle(); |
| 517 | 518 |
| 518 void updateScrollableAreaSet(bool hasOverflow); | 519 void updateScrollableAreaSet(bool hasOverflow); |
| 519 | 520 |
| 520 void updateCompositingLayersAfterScroll(); | 521 void updateCompositingLayersAfterScroll(); |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 585 | 586 |
| 586 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, | 587 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, |
| 587 ScrollableArea, | 588 ScrollableArea, |
| 588 scrollableArea, | 589 scrollableArea, |
| 589 scrollableArea->isPaintLayerScrollableArea(), | 590 scrollableArea->isPaintLayerScrollableArea(), |
| 590 scrollableArea.isPaintLayerScrollableArea()); | 591 scrollableArea.isPaintLayerScrollableArea()); |
| 591 | 592 |
| 592 } // namespace blink | 593 } // namespace blink |
| 593 | 594 |
| 594 #endif // LayerScrollableArea_h | 595 #endif // LayerScrollableArea_h |
| OLD | NEW |