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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
144 | 144 |
145 void setScrollPosition(const DoublePoint& position, ScrollType scrollType, S crollBehavior scrollBehavior = ScrollBehaviorInstant) override | 145 void setScrollPosition(const DoublePoint& position, ScrollType scrollType, S crollBehavior scrollBehavior = ScrollBehaviorInstant) override |
146 { | 146 { |
147 scrollToOffset(toDoubleSize(position), ScrollOffsetClamped, scrollBehavi or); | 147 scrollToOffset(toDoubleSize(position), ScrollOffsetClamped, scrollBehavi or); |
148 } | 148 } |
149 | 149 |
150 void updateAfterLayout(); | 150 void updateAfterLayout(); |
151 void updateAfterStyleChange(const ComputedStyle*); | 151 void updateAfterStyleChange(const ComputedStyle*); |
152 void updateAfterOverflowRecalc(); | 152 void updateAfterOverflowRecalc(); |
153 | 153 |
154 bool needsScrollbarReconstruction() const; | |
skobes
2015/08/19 16:59:52
Can this be private?
MuVen
2015/08/19 19:20:42
Done.
| |
155 | |
154 bool updateAfterCompositingChange() override; | 156 bool updateAfterCompositingChange() override; |
155 | 157 |
156 bool hasScrollbar() const { return m_hBar || m_vBar; } | 158 bool hasScrollbar() const { return m_hBar || m_vBar; } |
157 | 159 |
158 LayoutScrollbarPart* scrollCorner() const { return m_scrollCorner; } | 160 LayoutScrollbarPart* scrollCorner() const { return m_scrollCorner; } |
159 | 161 |
160 void resize(const PlatformEvent&, const LayoutSize&); | 162 void resize(const PlatformEvent&, const LayoutSize&); |
161 IntSize offsetFromResizeCorner(const IntPoint& absolutePoint) const; | 163 IntSize offsetFromResizeCorner(const IntPoint& absolutePoint) const; |
162 | 164 |
163 bool inResizeMode() const { return m_inResizeMode; } | 165 bool inResizeMode() const { return m_inResizeMode; } |
(...skipping 134 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 |