| 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 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 | 349 |
| 350 bool inResizeMode() const { return m_inResizeMode; } | 350 bool inResizeMode() const { return m_inResizeMode; } |
| 351 void setInResizeMode(bool inResizeMode) { m_inResizeMode = inResizeMode; } | 351 void setInResizeMode(bool inResizeMode) { m_inResizeMode = inResizeMode; } |
| 352 | 352 |
| 353 LayoutUnit scrollWidth() const; | 353 LayoutUnit scrollWidth() const; |
| 354 LayoutUnit scrollHeight() const; | 354 LayoutUnit scrollHeight() const; |
| 355 int pixelSnappedScrollWidth() const; | 355 int pixelSnappedScrollWidth() const; |
| 356 int pixelSnappedScrollHeight() const; | 356 int pixelSnappedScrollHeight() const; |
| 357 | 357 |
| 358 int verticalScrollbarWidth( | 358 int verticalScrollbarWidth( |
| 359 OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize) const override; | 359 OverlayScrollbarClipBehavior = |
| 360 IgnorePlatformOverlayScrollbarSize) const override; |
| 360 int horizontalScrollbarHeight( | 361 int horizontalScrollbarHeight( |
| 361 OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize) const override; | 362 OverlayScrollbarClipBehavior = |
| 363 IgnorePlatformOverlayScrollbarSize) const override; |
| 362 | 364 |
| 363 DoubleSize adjustedScrollOffset() const { | 365 DoubleSize adjustedScrollOffset() const { |
| 364 return toDoubleSize(DoublePoint(scrollOrigin()) + m_scrollOffset); | 366 return toDoubleSize(DoublePoint(scrollOrigin()) + m_scrollOffset); |
| 365 } | 367 } |
| 366 | 368 |
| 367 void positionOverflowControls(); | 369 void positionOverflowControls(); |
| 368 | 370 |
| 369 // isPointInResizeControl() is used for testing if a pointer/touch position is | 371 // isPointInResizeControl() is used for testing if a pointer/touch position is |
| 370 // in the resize control area. | 372 // in the resize control area. |
| 371 bool isPointInResizeControl(const IntPoint& absolutePoint, | 373 bool isPointInResizeControl(const IntPoint& absolutePoint, |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 602 | 604 |
| 603 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, | 605 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, |
| 604 ScrollableArea, | 606 ScrollableArea, |
| 605 scrollableArea, | 607 scrollableArea, |
| 606 scrollableArea->isPaintLayerScrollableArea(), | 608 scrollableArea->isPaintLayerScrollableArea(), |
| 607 scrollableArea.isPaintLayerScrollableArea()); | 609 scrollableArea.isPaintLayerScrollableArea()); |
| 608 | 610 |
| 609 } // namespace blink | 611 } // namespace blink |
| 610 | 612 |
| 611 #endif // LayerScrollableArea_h | 613 #endif // LayerScrollableArea_h |
| OLD | NEW |