| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 virtual ~RenderLayerScrollableArea(); | 60 virtual ~RenderLayerScrollableArea(); |
| 61 | 61 |
| 62 bool hasHorizontalScrollbar() const { return horizontalScrollbar(); } | 62 bool hasHorizontalScrollbar() const { return horizontalScrollbar(); } |
| 63 bool hasVerticalScrollbar() const { return verticalScrollbar(); } | 63 bool hasVerticalScrollbar() const { return verticalScrollbar(); } |
| 64 | 64 |
| 65 Scrollbar* horizontalScrollbar() const override { return m_hBar.get(); } | 65 Scrollbar* horizontalScrollbar() const override { return m_hBar.get(); } |
| 66 Scrollbar* verticalScrollbar() const override { return m_vBar.get(); } | 66 Scrollbar* verticalScrollbar() const override { return m_vBar.get(); } |
| 67 | 67 |
| 68 HostWindow* hostWindow() const override; | 68 HostWindow* hostWindow() const override; |
| 69 | 69 |
| 70 void invalidateScrollbarRect(Scrollbar*, const IntRect&) override; | |
| 71 bool isActive() const override; | 70 bool isActive() const override; |
| 72 IntRect scrollCornerRect() const; | 71 IntRect scrollCornerRect() const; |
| 73 IntRect convertFromScrollbarToContainingView(const Scrollbar*, const IntRect
&) const override; | 72 IntRect convertFromScrollbarToContainingView(const Scrollbar*, const IntRect
&) const override; |
| 74 IntRect convertFromContainingViewToScrollbar(const Scrollbar*, const IntRect
&) const override; | 73 IntRect convertFromContainingViewToScrollbar(const Scrollbar*, const IntRect
&) const override; |
| 75 IntPoint convertFromScrollbarToContainingView(const Scrollbar*, const IntPoi
nt&) const override; | 74 IntPoint convertFromScrollbarToContainingView(const Scrollbar*, const IntPoi
nt&) const override; |
| 76 IntPoint convertFromContainingViewToScrollbar(const Scrollbar*, const IntPoi
nt&) const override; | 75 IntPoint convertFromContainingViewToScrollbar(const Scrollbar*, const IntPoi
nt&) const override; |
| 77 int scrollSize(ScrollbarOrientation) const override; | 76 int scrollSize(ScrollbarOrientation) const override; |
| 78 void setScrollOffset(const IntPoint&) override; | 77 void setScrollOffset(const IntPoint&) override; |
| 79 IntPoint scrollPosition() const override; | 78 IntPoint scrollPosition() const override; |
| 80 IntPoint minimumScrollPosition() const override; | 79 IntPoint minimumScrollPosition() const override; |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 IntPoint m_cachedOverlayScrollbarOffset; | 187 IntPoint m_cachedOverlayScrollbarOffset; |
| 189 | 188 |
| 190 // For areas with overflow, we have a pair of scrollbars. | 189 // For areas with overflow, we have a pair of scrollbars. |
| 191 RefPtr<Scrollbar> m_hBar; | 190 RefPtr<Scrollbar> m_hBar; |
| 192 RefPtr<Scrollbar> m_vBar; | 191 RefPtr<Scrollbar> m_vBar; |
| 193 }; | 192 }; |
| 194 | 193 |
| 195 } // namespace blink | 194 } // namespace blink |
| 196 | 195 |
| 197 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYERSCROLLABLEAREA_H_ | 196 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYERSCROLLABLEAREA_H_ |
| OLD | NEW |