| 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 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 } | 338 } |
| 339 | 339 |
| 340 LayoutScrollbarPart* scrollCorner() const override { return m_scrollCorner; } | 340 LayoutScrollbarPart* scrollCorner() const override { return m_scrollCorner; } |
| 341 | 341 |
| 342 void resize(const IntPoint& pos, const LayoutSize& oldOffset); | 342 void resize(const IntPoint& pos, const LayoutSize& oldOffset); |
| 343 IntSize offsetFromResizeCorner(const IntPoint& absolutePoint) const; | 343 IntSize offsetFromResizeCorner(const IntPoint& absolutePoint) const; |
| 344 | 344 |
| 345 bool inResizeMode() const { return m_inResizeMode; } | 345 bool inResizeMode() const { return m_inResizeMode; } |
| 346 void setInResizeMode(bool inResizeMode) { m_inResizeMode = inResizeMode; } | 346 void setInResizeMode(bool inResizeMode) { m_inResizeMode = inResizeMode; } |
| 347 | 347 |
| 348 IntRect touchResizerCornerRect(const IntRect& bounds) const { | |
| 349 return resizerCornerRect(bounds, ResizerForTouch); | |
| 350 } | |
| 351 | |
| 352 LayoutUnit scrollWidth() const; | 348 LayoutUnit scrollWidth() const; |
| 353 LayoutUnit scrollHeight() const; | 349 LayoutUnit scrollHeight() const; |
| 354 int pixelSnappedScrollWidth() const; | 350 int pixelSnappedScrollWidth() const; |
| 355 int pixelSnappedScrollHeight() const; | 351 int pixelSnappedScrollHeight() const; |
| 356 | 352 |
| 357 int verticalScrollbarWidth( | 353 int verticalScrollbarWidth( |
| 358 OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize) const override; | 354 OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize) const override; |
| 359 int horizontalScrollbarHeight( | 355 int horizontalScrollbarHeight( |
| 360 OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize) const override; | 356 OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize) const override; |
| 361 | 357 |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 601 | 597 |
| 602 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, | 598 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, |
| 603 ScrollableArea, | 599 ScrollableArea, |
| 604 scrollableArea, | 600 scrollableArea, |
| 605 scrollableArea->isPaintLayerScrollableArea(), | 601 scrollableArea->isPaintLayerScrollableArea(), |
| 606 scrollableArea.isPaintLayerScrollableArea()); | 602 scrollableArea.isPaintLayerScrollableArea()); |
| 607 | 603 |
| 608 } // namespace blink | 604 } // namespace blink |
| 609 | 605 |
| 610 #endif // LayerScrollableArea_h | 606 #endif // LayerScrollableArea_h |
| OLD | NEW |