| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2011 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008, 2011 Apple Inc. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 void resetScrollOriginChanged() { m_scrollOriginChanged = false; } | 195 void resetScrollOriginChanged() { m_scrollOriginChanged = false; } |
| 196 | 196 |
| 197 virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&) = 0; | 197 virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&) = 0; |
| 198 virtual void invalidateScrollCornerRect(const IntRect&) = 0; | 198 virtual void invalidateScrollCornerRect(const IntRect&) = 0; |
| 199 | 199 |
| 200 friend class ScrollingCoordinator; | 200 friend class ScrollingCoordinator; |
| 201 virtual GraphicsLayer* layerForScrolling() const { return 0; } | 201 virtual GraphicsLayer* layerForScrolling() const { return 0; } |
| 202 virtual GraphicsLayer* layerForHorizontalScrollbar() const { return 0; } | 202 virtual GraphicsLayer* layerForHorizontalScrollbar() const { return 0; } |
| 203 virtual GraphicsLayer* layerForVerticalScrollbar() const { return 0; } | 203 virtual GraphicsLayer* layerForVerticalScrollbar() const { return 0; } |
| 204 virtual GraphicsLayer* layerForScrollCorner() const { return 0; } | 204 virtual GraphicsLayer* layerForScrollCorner() const { return 0; } |
| 205 #if ENABLE(RUBBER_BANDING) | 205 #if USE(RUBBER_BANDING) |
| 206 virtual GraphicsLayer* layerForOverhangAreas() const { return 0; } | 206 virtual GraphicsLayer* layerForOverhangAreas() const { return 0; } |
| 207 #endif | 207 #endif |
| 208 bool hasLayerForHorizontalScrollbar() const; | 208 bool hasLayerForHorizontalScrollbar() const; |
| 209 bool hasLayerForVerticalScrollbar() const; | 209 bool hasLayerForVerticalScrollbar() const; |
| 210 bool hasLayerForScrollCorner() const; | 210 bool hasLayerForScrollCorner() const; |
| 211 | 211 |
| 212 private: | 212 private: |
| 213 void scrollPositionChanged(const IntPoint&); | 213 void scrollPositionChanged(const IntPoint&); |
| 214 | 214 |
| 215 // NOTE: Only called from the ScrollAnimator. | 215 // NOTE: Only called from the ScrollAnimator. |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 // vertical-lr / ltr NO NO | 247 // vertical-lr / ltr NO NO |
| 248 // vertical-lr / rtl NO YES | 248 // vertical-lr / rtl NO YES |
| 249 // vertical-rl / ltr YES NO | 249 // vertical-rl / ltr YES NO |
| 250 // vertical-rl / rtl YES YES | 250 // vertical-rl / rtl YES YES |
| 251 IntPoint m_scrollOrigin; | 251 IntPoint m_scrollOrigin; |
| 252 }; | 252 }; |
| 253 | 253 |
| 254 } // namespace WebCore | 254 } // namespace WebCore |
| 255 | 255 |
| 256 #endif // ScrollableArea_h | 256 #endif // ScrollableArea_h |
| OLD | NEW |