| 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 RenderBox& box() const; | 164 RenderBox& box() const; |
| 165 RenderLayer* layer() const; | 165 RenderLayer* layer() const; |
| 166 | 166 |
| 167 void updateScrollableAreaSet(bool hasOverflow); | 167 void updateScrollableAreaSet(bool hasOverflow); |
| 168 | 168 |
| 169 RenderLayer& m_layer; | 169 RenderLayer& m_layer; |
| 170 | 170 |
| 171 unsigned m_scrollsOverflow : 1; | 171 unsigned m_scrollsOverflow : 1; |
| 172 | 172 |
| 173 unsigned m_scrollDimensionsDirty : 1; | 173 unsigned m_scrollDimensionsDirty : 1; |
| 174 unsigned m_inOverflowRelayout : 1; | |
| 175 | 174 |
| 176 RenderLayer* m_nextTopmostScrollChild; | 175 RenderLayer* m_nextTopmostScrollChild; |
| 177 RenderLayer* m_topmostScrollChild; | 176 RenderLayer* m_topmostScrollChild; |
| 178 | 177 |
| 179 // FIXME: once cc can handle composited scrolling with clip paths, we will | 178 // FIXME: once cc can handle composited scrolling with clip paths, we will |
| 180 // no longer need this bit. | 179 // no longer need this bit. |
| 181 unsigned m_needsCompositedScrolling : 1; | 180 unsigned m_needsCompositedScrolling : 1; |
| 182 | 181 |
| 183 // The width/height of our scrolled area. | 182 // The width/height of our scrolled area. |
| 184 LayoutRect m_overflowRect; | 183 LayoutRect m_overflowRect; |
| 185 | 184 |
| 186 // This is the (scroll) offset from scrollOrigin(). | 185 // This is the (scroll) offset from scrollOrigin(). |
| 187 IntSize m_scrollOffset; | 186 IntSize m_scrollOffset; |
| 188 | 187 |
| 189 IntPoint m_cachedOverlayScrollbarOffset; | 188 IntPoint m_cachedOverlayScrollbarOffset; |
| 190 | 189 |
| 191 // For areas with overflow, we have a pair of scrollbars. | 190 // For areas with overflow, we have a pair of scrollbars. |
| 192 RefPtr<Scrollbar> m_hBar; | 191 RefPtr<Scrollbar> m_hBar; |
| 193 RefPtr<Scrollbar> m_vBar; | 192 RefPtr<Scrollbar> m_vBar; |
| 194 }; | 193 }; |
| 195 | 194 |
| 196 } // namespace blink | 195 } // namespace blink |
| 197 | 196 |
| 198 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYERSCROLLABLEAREA_H_ | 197 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYERSCROLLABLEAREA_H_ |
| OLD | NEW |