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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 m_verticalBarDamage.unite(rect); | 254 m_verticalBarDamage.unite(rect); |
255 } | 255 } |
256 | 256 |
257 void resetScrollbarDamage() | 257 void resetScrollbarDamage() |
258 { | 258 { |
259 m_verticalBarDamage = IntRect(); | 259 m_verticalBarDamage = IntRect(); |
260 m_horizontalBarDamage = IntRect(); | 260 m_horizontalBarDamage = IntRect(); |
261 } | 261 } |
262 | 262 |
263 virtual GraphicsLayer* layerForContainer() const; | 263 virtual GraphicsLayer* layerForContainer() const; |
| 264 virtual GraphicsLayer* layerForScrollbarContainer() const { return layerForC
ontainer(); } |
264 virtual GraphicsLayer* layerForScrolling() const { return 0; } | 265 virtual GraphicsLayer* layerForScrolling() const { return 0; } |
265 virtual GraphicsLayer* layerForHorizontalScrollbar() const { return 0; } | 266 virtual GraphicsLayer* layerForHorizontalScrollbar() const { return 0; } |
266 virtual GraphicsLayer* layerForVerticalScrollbar() const { return 0; } | 267 virtual GraphicsLayer* layerForVerticalScrollbar() const { return 0; } |
267 virtual GraphicsLayer* layerForScrollCorner() const { return 0; } | 268 virtual GraphicsLayer* layerForScrollCorner() const { return 0; } |
268 bool hasLayerForHorizontalScrollbar() const; | 269 bool hasLayerForHorizontalScrollbar() const; |
269 bool hasLayerForVerticalScrollbar() const; | 270 bool hasLayerForVerticalScrollbar() const; |
270 bool hasLayerForScrollCorner() const; | 271 bool hasLayerForScrollCorner() const; |
271 | 272 |
272 void layerForScrollingDidChange(WebCompositorAnimationTimeline*); | 273 void layerForScrollingDidChange(WebCompositorAnimationTimeline*); |
273 | 274 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 // vertical-lr / ltr NO NO | 368 // vertical-lr / ltr NO NO |
368 // vertical-lr / rtl NO YES | 369 // vertical-lr / rtl NO YES |
369 // vertical-rl / ltr YES NO | 370 // vertical-rl / ltr YES NO |
370 // vertical-rl / rtl YES YES | 371 // vertical-rl / rtl YES YES |
371 IntPoint m_scrollOrigin; | 372 IntPoint m_scrollOrigin; |
372 }; | 373 }; |
373 | 374 |
374 } // namespace blink | 375 } // namespace blink |
375 | 376 |
376 #endif // ScrollableArea_h | 377 #endif // ScrollableArea_h |
OLD | NEW |