OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009, 2010, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010, 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 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 ->scrollCornerAndResizerRect() | 412 ->scrollCornerAndResizerRect() |
413 .isEmpty(); | 413 .isEmpty(); |
414 } | 414 } |
415 bool updateScrollingLayers(bool scrollingLayers); | 415 bool updateScrollingLayers(bool scrollingLayers); |
416 void updateScrollParent(const PaintLayer*); | 416 void updateScrollParent(const PaintLayer*); |
417 void updateClipParent(const PaintLayer* scrollParent); | 417 void updateClipParent(const PaintLayer* scrollParent); |
418 bool updateSquashingLayers(bool needsSquashingLayers); | 418 bool updateSquashingLayers(bool needsSquashingLayers); |
419 void updateDrawsContent(); | 419 void updateDrawsContent(); |
420 void updateChildrenTransform(); | 420 void updateChildrenTransform(); |
421 void updateCompositedBounds(); | 421 void updateCompositedBounds(); |
| 422 void updateScrollBoundaryBehavior(); |
422 void registerScrollingLayers(); | 423 void registerScrollingLayers(); |
423 | 424 |
424 // Also sets subpixelAccumulation on the layer. | 425 // Also sets subpixelAccumulation on the layer. |
425 void computeBoundsOfOwningLayer( | 426 void computeBoundsOfOwningLayer( |
426 const PaintLayer* compositedAncestor, | 427 const PaintLayer* compositedAncestor, |
427 IntRect& localCompositingBounds, | 428 IntRect& localCompositingBounds, |
428 IntRect& compositingBoundsRelativeToCompositedAncestor, | 429 IntRect& compositingBoundsRelativeToCompositedAncestor, |
429 LayoutPoint& offsetFromCompositedAncestor, | 430 LayoutPoint& offsetFromCompositedAncestor, |
430 IntPoint& snappedOffsetFromCompositedAncestor); | 431 IntPoint& snappedOffsetFromCompositedAncestor); |
431 | 432 |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
701 unsigned m_backgroundPaintsOntoGraphicsLayer : 1; | 702 unsigned m_backgroundPaintsOntoGraphicsLayer : 1; |
702 | 703 |
703 bool m_drawsBackgroundOntoContentLayer; | 704 bool m_drawsBackgroundOntoContentLayer; |
704 | 705 |
705 friend class CompositedLayerMappingTest; | 706 friend class CompositedLayerMappingTest; |
706 }; | 707 }; |
707 | 708 |
708 } // namespace blink | 709 } // namespace blink |
709 | 710 |
710 #endif // CompositedLayerMapping_h | 711 #endif // CompositedLayerMapping_h |
OLD | NEW |