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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 | 206 |
207 const IntRect& horizontalBarDamage() const | 207 const IntRect& horizontalBarDamage() const |
208 { | 208 { |
209 ASSERT(m_hasHorizontalBarDamage); | 209 ASSERT(m_hasHorizontalBarDamage); |
210 return m_horizontalBarDamage; | 210 return m_horizontalBarDamage; |
211 } | 211 } |
212 | 212 |
213 void resetScrollbarDamage() | 213 void resetScrollbarDamage() |
214 { | 214 { |
215 m_hasVerticalBarDamage = false; | 215 m_hasVerticalBarDamage = false; |
| 216 m_verticalBarDamage = IntRect(); |
216 m_hasHorizontalBarDamage = false; | 217 m_hasHorizontalBarDamage = false; |
| 218 m_horizontalBarDamage = IntRect(); |
217 } | 219 } |
218 virtual GraphicsLayer* layerForContainer() const; | 220 virtual GraphicsLayer* layerForContainer() const; |
219 virtual GraphicsLayer* layerForScrolling() const { return 0; } | 221 virtual GraphicsLayer* layerForScrolling() const { return 0; } |
220 virtual GraphicsLayer* layerForHorizontalScrollbar() const { return 0; } | 222 virtual GraphicsLayer* layerForHorizontalScrollbar() const { return 0; } |
221 virtual GraphicsLayer* layerForVerticalScrollbar() const { return 0; } | 223 virtual GraphicsLayer* layerForVerticalScrollbar() const { return 0; } |
222 virtual GraphicsLayer* layerForScrollCorner() const { return 0; } | 224 virtual GraphicsLayer* layerForScrollCorner() const { return 0; } |
223 bool hasLayerForHorizontalScrollbar() const; | 225 bool hasLayerForHorizontalScrollbar() const; |
224 bool hasLayerForVerticalScrollbar() const; | 226 bool hasLayerForVerticalScrollbar() const; |
225 bool hasLayerForScrollCorner() const; | 227 bool hasLayerForScrollCorner() const; |
226 | 228 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 // vertical-lr / ltr NO NO | 281 // vertical-lr / ltr NO NO |
280 // vertical-lr / rtl NO YES | 282 // vertical-lr / rtl NO YES |
281 // vertical-rl / ltr YES NO | 283 // vertical-rl / ltr YES NO |
282 // vertical-rl / rtl YES YES | 284 // vertical-rl / rtl YES YES |
283 IntPoint m_scrollOrigin; | 285 IntPoint m_scrollOrigin; |
284 }; | 286 }; |
285 | 287 |
286 } // namespace blink | 288 } // namespace blink |
287 | 289 |
288 #endif // ScrollableArea_h | 290 #endif // ScrollableArea_h |
OLD | NEW |