| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 int scrollSize(ScrollbarOrientation) const override; | 76 int scrollSize(ScrollbarOrientation) const override; |
| 77 void setScrollOffset(const IntPoint&) override; | 77 void setScrollOffset(const IntPoint&) override; |
| 78 IntPoint scrollPosition() const override; | 78 IntPoint scrollPosition() const override; |
| 79 IntPoint minimumScrollPosition() const override; | 79 IntPoint minimumScrollPosition() const override; |
| 80 IntPoint maximumScrollPosition() const override; | 80 IntPoint maximumScrollPosition() const override; |
| 81 IntRect visibleContentRect(IncludeScrollbarsInRect) const; | 81 IntRect visibleContentRect(IncludeScrollbarsInRect) const; |
| 82 int visibleHeight() const; | 82 int visibleHeight() const; |
| 83 int visibleWidth() const; | 83 int visibleWidth() const; |
| 84 IntSize contentsSize() const override; | 84 IntSize contentsSize() const override; |
| 85 IntSize overhangAmount() const; | 85 IntSize overhangAmount() const; |
| 86 IntPoint lastKnownMousePosition() const; | |
| 87 IntRect scrollableAreaBoundingBox() const; | 86 IntRect scrollableAreaBoundingBox() const; |
| 88 bool userInputScrollable(ScrollbarOrientation) const override; | 87 bool userInputScrollable(ScrollbarOrientation) const override; |
| 89 bool shouldPlaceVerticalScrollbarOnLeft() const override; | 88 bool shouldPlaceVerticalScrollbarOnLeft() const override; |
| 90 int pageStep(ScrollbarOrientation) const override; | 89 int pageStep(ScrollbarOrientation) const override; |
| 91 | 90 |
| 92 int scrollXOffset() const { return m_scrollOffset.width() + scrollOrigin().x
(); } | 91 int scrollXOffset() const { return m_scrollOffset.width() + scrollOrigin().x
(); } |
| 93 int scrollYOffset() const { return m_scrollOffset.height() + scrollOrigin().
y(); } | 92 int scrollYOffset() const { return m_scrollOffset.height() + scrollOrigin().
y(); } |
| 94 | 93 |
| 95 IntSize scrollOffset() const { return m_scrollOffset; } | 94 IntSize scrollOffset() const { return m_scrollOffset; } |
| 96 | 95 |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 IntPoint m_cachedOverlayScrollbarOffset; | 186 IntPoint m_cachedOverlayScrollbarOffset; |
| 188 | 187 |
| 189 // For areas with overflow, we have a pair of scrollbars. | 188 // For areas with overflow, we have a pair of scrollbars. |
| 190 RefPtr<Scrollbar> m_hBar; | 189 RefPtr<Scrollbar> m_hBar; |
| 191 RefPtr<Scrollbar> m_vBar; | 190 RefPtr<Scrollbar> m_vBar; |
| 192 }; | 191 }; |
| 193 | 192 |
| 194 } // namespace blink | 193 } // namespace blink |
| 195 | 194 |
| 196 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYERSCROLLABLEAREA_H_ | 195 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYERSCROLLABLEAREA_H_ |
| OLD | NEW |