| 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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 | 227 |
| 228 private: | 228 private: |
| 229 explicit DeprecatedPaintLayerScrollableArea(DeprecatedPaintLayer&); | 229 explicit DeprecatedPaintLayerScrollableArea(DeprecatedPaintLayer&); |
| 230 | 230 |
| 231 bool hasHorizontalOverflow() const; | 231 bool hasHorizontalOverflow() const; |
| 232 bool hasVerticalOverflow() const; | 232 bool hasVerticalOverflow() const; |
| 233 bool hasScrollableHorizontalOverflow() const; | 233 bool hasScrollableHorizontalOverflow() const; |
| 234 bool hasScrollableVerticalOverflow() const; | 234 bool hasScrollableVerticalOverflow() const; |
| 235 bool visualViewportSuppliesScrollbars() const; | 235 bool visualViewportSuppliesScrollbars() const; |
| 236 | 236 |
| 237 bool needsScrollbarReconstruction() const; |
| 238 |
| 237 void computeScrollDimensions(); | 239 void computeScrollDimensions(); |
| 238 | 240 |
| 239 // TODO(bokan): This method hides the base class version and is subtly diffe
rent. | 241 // TODO(bokan): This method hides the base class version and is subtly diffe
rent. |
| 240 // Should be unified. | 242 // Should be unified. |
| 241 DoubleSize clampScrollOffset(const DoubleSize&) const; | 243 DoubleSize clampScrollOffset(const DoubleSize&) const; |
| 242 | 244 |
| 243 void setScrollOffset(const IntPoint&, ScrollType) override; | 245 void setScrollOffset(const IntPoint&, ScrollType) override; |
| 244 void setScrollOffset(const DoublePoint&, ScrollType) override; | 246 void setScrollOffset(const DoublePoint&, ScrollType) override; |
| 245 | 247 |
| 246 LayoutUnit verticalScrollbarStart(int minX, int maxX) const; | 248 LayoutUnit verticalScrollbarStart(int minX, int maxX) const; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 LayoutScrollbarPart* m_resizer; | 300 LayoutScrollbarPart* m_resizer; |
| 299 | 301 |
| 300 #if ENABLE(ASSERT) | 302 #if ENABLE(ASSERT) |
| 301 bool m_hasBeenDisposed; | 303 bool m_hasBeenDisposed; |
| 302 #endif | 304 #endif |
| 303 }; | 305 }; |
| 304 | 306 |
| 305 } // namespace blink | 307 } // namespace blink |
| 306 | 308 |
| 307 #endif // LayerScrollableArea_h | 309 #endif // LayerScrollableArea_h |
| OLD | NEW |