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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 virtual IntRect visibleContentRect(VisibleContentRectIncludesScrollbars) con
st OVERRIDE; | 96 virtual IntRect visibleContentRect(VisibleContentRectIncludesScrollbars) con
st OVERRIDE; |
97 virtual int visibleHeight() const OVERRIDE; | 97 virtual int visibleHeight() const OVERRIDE; |
98 virtual int visibleWidth() const OVERRIDE; | 98 virtual int visibleWidth() const OVERRIDE; |
99 virtual IntSize contentsSize() const OVERRIDE; | 99 virtual IntSize contentsSize() const OVERRIDE; |
100 virtual IntSize overhangAmount() const OVERRIDE; | 100 virtual IntSize overhangAmount() const OVERRIDE; |
101 virtual IntPoint lastKnownMousePosition() const OVERRIDE; | 101 virtual IntPoint lastKnownMousePosition() const OVERRIDE; |
102 virtual bool shouldSuspendScrollAnimations() const OVERRIDE; | 102 virtual bool shouldSuspendScrollAnimations() const OVERRIDE; |
103 virtual bool scrollbarsCanBeActive() const OVERRIDE; | 103 virtual bool scrollbarsCanBeActive() const OVERRIDE; |
104 virtual IntRect scrollableAreaBoundingBox() const OVERRIDE; | 104 virtual IntRect scrollableAreaBoundingBox() const OVERRIDE; |
105 virtual bool userInputScrollable(ScrollbarOrientation) const OVERRIDE; | 105 virtual bool userInputScrollable(ScrollbarOrientation) const OVERRIDE; |
| 106 virtual bool shouldPlaceVerticalScrollbarOnLeft() const OVERRIDE; |
106 virtual int pageStep(ScrollbarOrientation) const OVERRIDE; | 107 virtual int pageStep(ScrollbarOrientation) const OVERRIDE; |
107 | 108 |
108 int scrollXOffset() const { return m_scrollOffset.width() + scrollOrigin().x
(); } | 109 int scrollXOffset() const { return m_scrollOffset.width() + scrollOrigin().x
(); } |
109 int scrollYOffset() const { return m_scrollOffset.height() + scrollOrigin().
y(); } | 110 int scrollYOffset() const { return m_scrollOffset.height() + scrollOrigin().
y(); } |
110 | 111 |
111 IntSize scrollOffset() const { return m_scrollOffset; } | 112 IntSize scrollOffset() const { return m_scrollOffset; } |
112 | 113 |
113 // FIXME: We shouldn't allow access to m_overflowRect outside this class. | 114 // FIXME: We shouldn't allow access to m_overflowRect outside this class. |
114 LayoutRect overflowRect() const { return m_overflowRect; } | 115 LayoutRect overflowRect() const { return m_overflowRect; } |
115 | 116 |
(...skipping 27 matching lines...) Expand all Loading... |
143 // The width/height of our scrolled area. | 144 // The width/height of our scrolled area. |
144 LayoutRect m_overflowRect; | 145 LayoutRect m_overflowRect; |
145 | 146 |
146 // This is the (scroll) offset from scrollOrigin(). | 147 // This is the (scroll) offset from scrollOrigin(). |
147 IntSize m_scrollOffset; | 148 IntSize m_scrollOffset; |
148 }; | 149 }; |
149 | 150 |
150 } // Namespace WebCore | 151 } // Namespace WebCore |
151 | 152 |
152 #endif // RenderLayerScrollableArea_h | 153 #endif // RenderLayerScrollableArea_h |
OLD | NEW |