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