| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 bool hasVerticalScrollbar() const { return verticalScrollbar(); } | 63 bool hasVerticalScrollbar() const { return verticalScrollbar(); } |
| 64 | 64 |
| 65 virtual Scrollbar* horizontalScrollbar() const override { return m_hBar.get(
); } | 65 virtual Scrollbar* horizontalScrollbar() const override { return m_hBar.get(
); } |
| 66 virtual Scrollbar* verticalScrollbar() const override { return m_vBar.get();
} | 66 virtual Scrollbar* verticalScrollbar() const override { return m_vBar.get();
} |
| 67 | 67 |
| 68 virtual HostWindow* hostWindow() const override; | 68 virtual HostWindow* hostWindow() const override; |
| 69 | 69 |
| 70 virtual GraphicsLayer* layerForScrolling() const override; | 70 virtual GraphicsLayer* layerForScrolling() const override; |
| 71 virtual GraphicsLayer* layerForHorizontalScrollbar() const override; | 71 virtual GraphicsLayer* layerForHorizontalScrollbar() const override; |
| 72 virtual GraphicsLayer* layerForVerticalScrollbar() const override; | 72 virtual GraphicsLayer* layerForVerticalScrollbar() const override; |
| 73 virtual bool usesCompositedScrolling() const override; | |
| 74 virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&) override; | 73 virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&) override; |
| 75 virtual bool isActive() const override; | 74 virtual bool isActive() const override; |
| 76 IntRect scrollCornerRect() const; | 75 IntRect scrollCornerRect() const; |
| 77 virtual IntRect convertFromScrollbarToContainingView(const Scrollbar*, const
IntRect&) const override; | 76 virtual IntRect convertFromScrollbarToContainingView(const Scrollbar*, const
IntRect&) const override; |
| 78 virtual IntRect convertFromContainingViewToScrollbar(const Scrollbar*, const
IntRect&) const override; | 77 virtual IntRect convertFromContainingViewToScrollbar(const Scrollbar*, const
IntRect&) const override; |
| 79 virtual IntPoint convertFromScrollbarToContainingView(const Scrollbar*, cons
t IntPoint&) const override; | 78 virtual IntPoint convertFromScrollbarToContainingView(const Scrollbar*, cons
t IntPoint&) const override; |
| 80 virtual IntPoint convertFromContainingViewToScrollbar(const Scrollbar*, cons
t IntPoint&) const override; | 79 virtual IntPoint convertFromContainingViewToScrollbar(const Scrollbar*, cons
t IntPoint&) const override; |
| 81 virtual int scrollSize(ScrollbarOrientation) const override; | 80 virtual int scrollSize(ScrollbarOrientation) const override; |
| 82 virtual void setScrollOffset(const IntPoint&) override; | 81 virtual void setScrollOffset(const IntPoint&) override; |
| 83 virtual IntPoint scrollPosition() const override; | 82 virtual IntPoint scrollPosition() const override; |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 IntPoint m_cachedOverlayScrollbarOffset; | 197 IntPoint m_cachedOverlayScrollbarOffset; |
| 199 | 198 |
| 200 // For areas with overflow, we have a pair of scrollbars. | 199 // For areas with overflow, we have a pair of scrollbars. |
| 201 RefPtr<Scrollbar> m_hBar; | 200 RefPtr<Scrollbar> m_hBar; |
| 202 RefPtr<Scrollbar> m_vBar; | 201 RefPtr<Scrollbar> m_vBar; |
| 203 }; | 202 }; |
| 204 | 203 |
| 205 } // namespace blink | 204 } // namespace blink |
| 206 | 205 |
| 207 #endif // RenderLayerScrollableArea_h | 206 #endif // RenderLayerScrollableArea_h |
| OLD | NEW |