| 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 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 .IsEmpty(); | 419 .IsEmpty(); |
| 420 } | 420 } |
| 421 bool UpdateScrollingLayers(bool scrolling_layers); | 421 bool UpdateScrollingLayers(bool scrolling_layers); |
| 422 void UpdateScrollParent(const PaintLayer*); | 422 void UpdateScrollParent(const PaintLayer*); |
| 423 void UpdateClipParent(const PaintLayer* scroll_parent); | 423 void UpdateClipParent(const PaintLayer* scroll_parent); |
| 424 bool UpdateSquashingLayers(bool needs_squashing_layers); | 424 bool UpdateSquashingLayers(bool needs_squashing_layers); |
| 425 void UpdateDrawsContent(); | 425 void UpdateDrawsContent(); |
| 426 void UpdateChildrenTransform(); | 426 void UpdateChildrenTransform(); |
| 427 void UpdateCompositedBounds(); | 427 void UpdateCompositedBounds(); |
| 428 void RegisterScrollingLayers(); | 428 void RegisterScrollingLayers(); |
| 429 void UpdateSnapOffsets(); |
| 429 | 430 |
| 430 // Also sets subpixelAccumulation on the layer. | 431 // Also sets subpixelAccumulation on the layer. |
| 431 void ComputeBoundsOfOwningLayer( | 432 void ComputeBoundsOfOwningLayer( |
| 432 const PaintLayer* composited_ancestor, | 433 const PaintLayer* composited_ancestor, |
| 433 IntRect& local_compositing_bounds, | 434 IntRect& local_compositing_bounds, |
| 434 IntRect& compositing_bounds_relative_to_composited_ancestor, | 435 IntRect& compositing_bounds_relative_to_composited_ancestor, |
| 435 LayoutPoint& offset_from_composited_ancestor, | 436 LayoutPoint& offset_from_composited_ancestor, |
| 436 IntPoint& snapped_offset_from_composited_ancestor); | 437 IntPoint& snapped_offset_from_composited_ancestor); |
| 437 | 438 |
| 438 void SetBackgroundLayerPaintsFixedRootBackground(bool); | 439 void SetBackgroundLayerPaintsFixedRootBackground(bool); |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 707 unsigned background_paints_onto_graphics_layer_ : 1; | 708 unsigned background_paints_onto_graphics_layer_ : 1; |
| 708 | 709 |
| 709 bool draws_background_onto_content_layer_; | 710 bool draws_background_onto_content_layer_; |
| 710 | 711 |
| 711 friend class CompositedLayerMappingTest; | 712 friend class CompositedLayerMappingTest; |
| 712 }; | 713 }; |
| 713 | 714 |
| 714 } // namespace blink | 715 } // namespace blink |
| 715 | 716 |
| 716 #endif // CompositedLayerMapping_h | 717 #endif // CompositedLayerMapping_h |
| OLD | NEW |