| 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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 void updateScrollDimensions(DoubleSize& scrollOffset, bool& autoHorizontalSc
rollBarChanged, bool& autoVerticalScrollBarChanged); | 255 void updateScrollDimensions(DoubleSize& scrollOffset, bool& autoHorizontalSc
rollBarChanged, bool& autoVerticalScrollBarChanged); |
| 256 void finalizeScrollDimensions(const DoubleSize& originalScrollOffset, bool a
utoHorizontalScrollBarChanged, bool autoVerticalScrollBarChanged); | 256 void finalizeScrollDimensions(const DoubleSize& originalScrollOffset, bool a
utoHorizontalScrollBarChanged, bool autoVerticalScrollBarChanged); |
| 257 | 257 |
| 258 void updateAfterLayout(); | 258 void updateAfterLayout(); |
| 259 void updateAfterStyleChange(const ComputedStyle*); | 259 void updateAfterStyleChange(const ComputedStyle*); |
| 260 void updateAfterOverflowRecalc(); | 260 void updateAfterOverflowRecalc(); |
| 261 | 261 |
| 262 bool updateAfterCompositingChange() override; | 262 bool updateAfterCompositingChange() override; |
| 263 | 263 |
| 264 bool hasScrollbar() const { return hasHorizontalScrollbar() || hasVerticalSc
rollbar(); } | 264 bool hasScrollbar() const { return hasHorizontalScrollbar() || hasVerticalSc
rollbar(); } |
| 265 bool hasOverflowControls() const { return hasScrollbar() || scrollCorner() |
| resizer(); } |
| 265 | 266 |
| 266 LayoutScrollbarPart* scrollCorner() const override { return m_scrollCorner;
} | 267 LayoutScrollbarPart* scrollCorner() const override { return m_scrollCorner;
} |
| 267 | 268 |
| 268 void resize(const PlatformEvent&, const LayoutSize&); | 269 void resize(const PlatformEvent&, const LayoutSize&); |
| 269 IntSize offsetFromResizeCorner(const IntPoint& absolutePoint) const; | 270 IntSize offsetFromResizeCorner(const IntPoint& absolutePoint) const; |
| 270 | 271 |
| 271 bool inResizeMode() const { return m_inResizeMode; } | 272 bool inResizeMode() const { return m_inResizeMode; } |
| 272 void setInResizeMode(bool inResizeMode) { m_inResizeMode = inResizeMode; } | 273 void setInResizeMode(bool inResizeMode) { m_inResizeMode = inResizeMode; } |
| 273 | 274 |
| 274 IntRect touchResizerCornerRect(const IntRect& bounds) const | 275 IntRect touchResizerCornerRect(const IntRect& bounds) const |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 413 #endif | 414 #endif |
| 414 }; | 415 }; |
| 415 | 416 |
| 416 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, ScrollableArea, scrollableArea, | 417 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, ScrollableArea, scrollableArea, |
| 417 scrollableArea->isPaintLayerScrollableArea(), | 418 scrollableArea->isPaintLayerScrollableArea(), |
| 418 scrollableArea.isPaintLayerScrollableArea()); | 419 scrollableArea.isPaintLayerScrollableArea()); |
| 419 | 420 |
| 420 } // namespace blink | 421 } // namespace blink |
| 421 | 422 |
| 422 #endif // LayerScrollableArea_h | 423 #endif // LayerScrollableArea_h |
| OLD | NEW |