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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 void updateScrollDimensions(DoubleSize& scrollOffset, bool& autoHorizontalSc
rollBarChanged, bool& autoVerticalScrollBarChanged); | 253 void updateScrollDimensions(DoubleSize& scrollOffset, bool& autoHorizontalSc
rollBarChanged, bool& autoVerticalScrollBarChanged); |
254 void finalizeScrollDimensions(const DoubleSize& originalScrollOffset, bool a
utoHorizontalScrollBarChanged, bool autoVerticalScrollBarChanged); | 254 void finalizeScrollDimensions(const DoubleSize& originalScrollOffset, bool a
utoHorizontalScrollBarChanged, bool autoVerticalScrollBarChanged); |
255 | 255 |
256 void updateAfterLayout(); | 256 void updateAfterLayout(); |
257 void updateAfterStyleChange(const ComputedStyle*); | 257 void updateAfterStyleChange(const ComputedStyle*); |
258 void updateAfterOverflowRecalc(); | 258 void updateAfterOverflowRecalc(); |
259 | 259 |
260 bool updateAfterCompositingChange() override; | 260 bool updateAfterCompositingChange() override; |
261 | 261 |
262 bool hasScrollbar() const { return hasHorizontalScrollbar() || hasVerticalSc
rollbar(); } | 262 bool hasScrollbar() const { return hasHorizontalScrollbar() || hasVerticalSc
rollbar(); } |
| 263 bool hasOverflowControls() const { return hasScrollbar() || scrollCorner() |
| resizer(); } |
263 | 264 |
264 LayoutScrollbarPart* scrollCorner() const override { return m_scrollCorner;
} | 265 LayoutScrollbarPart* scrollCorner() const override { return m_scrollCorner;
} |
265 | 266 |
266 void resize(const PlatformEvent&, const LayoutSize&); | 267 void resize(const PlatformEvent&, const LayoutSize&); |
267 IntSize offsetFromResizeCorner(const IntPoint& absolutePoint) const; | 268 IntSize offsetFromResizeCorner(const IntPoint& absolutePoint) const; |
268 | 269 |
269 bool inResizeMode() const { return m_inResizeMode; } | 270 bool inResizeMode() const { return m_inResizeMode; } |
270 void setInResizeMode(bool inResizeMode) { m_inResizeMode = inResizeMode; } | 271 void setInResizeMode(bool inResizeMode) { m_inResizeMode = inResizeMode; } |
271 | 272 |
272 IntRect touchResizerCornerRect(const IntRect& bounds) const | 273 IntRect touchResizerCornerRect(const IntRect& bounds) const |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 LayoutScrollbarPart* m_resizer; | 407 LayoutScrollbarPart* m_resizer; |
407 | 408 |
408 #if ENABLE(ASSERT) | 409 #if ENABLE(ASSERT) |
409 bool m_hasBeenDisposed; | 410 bool m_hasBeenDisposed; |
410 #endif | 411 #endif |
411 }; | 412 }; |
412 | 413 |
413 } // namespace blink | 414 } // namespace blink |
414 | 415 |
415 #endif // LayerScrollableArea_h | 416 #endif // LayerScrollableArea_h |
OLD | NEW |