| 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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 const IntRect& relative_compositing_bounds); | 361 const IntRect& relative_compositing_bounds); |
| 362 void UpdateForegroundLayerGeometry( | 362 void UpdateForegroundLayerGeometry( |
| 363 const FloatSize& relative_compositing_bounds_size, | 363 const FloatSize& relative_compositing_bounds_size, |
| 364 const IntRect& clipping_box); | 364 const IntRect& clipping_box); |
| 365 void UpdateBackgroundLayerGeometry( | 365 void UpdateBackgroundLayerGeometry( |
| 366 const FloatSize& relative_compositing_bounds_size); | 366 const FloatSize& relative_compositing_bounds_size); |
| 367 void UpdateDecorationOutlineLayerGeometry( | 367 void UpdateDecorationOutlineLayerGeometry( |
| 368 const FloatSize& relative_compositing_bounds_size); | 368 const FloatSize& relative_compositing_bounds_size); |
| 369 void UpdateScrollingLayerGeometry(const IntRect& local_compositing_bounds); | 369 void UpdateScrollingLayerGeometry(const IntRect& local_compositing_bounds); |
| 370 void UpdateChildClippingMaskLayerGeometry(); | 370 void UpdateChildClippingMaskLayerGeometry(); |
| 371 void UpdateStickyConstraints(const ComputedStyle&, const PaintLayer*); | 371 void UpdateStickyConstraints(const ComputedStyle&); |
| 372 | 372 |
| 373 void CreatePrimaryGraphicsLayer(); | 373 void CreatePrimaryGraphicsLayer(); |
| 374 void DestroyGraphicsLayers(); | 374 void DestroyGraphicsLayers(); |
| 375 | 375 |
| 376 std::unique_ptr<GraphicsLayer> CreateGraphicsLayer( | 376 std::unique_ptr<GraphicsLayer> CreateGraphicsLayer( |
| 377 CompositingReasons, | 377 CompositingReasons, |
| 378 SquashingDisallowedReasons = kSquashingDisallowedReasonsNone); | 378 SquashingDisallowedReasons = kSquashingDisallowedReasonsNone); |
| 379 bool ToggleScrollbarLayerIfNeeded(std::unique_ptr<GraphicsLayer>&, | 379 bool ToggleScrollbarLayerIfNeeded(std::unique_ptr<GraphicsLayer>&, |
| 380 bool needs_layer, | 380 bool needs_layer, |
| 381 CompositingReasons); | 381 CompositingReasons); |
| (...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 707 unsigned background_paints_onto_graphics_layer_ : 1; | 707 unsigned background_paints_onto_graphics_layer_ : 1; |
| 708 | 708 |
| 709 bool draws_background_onto_content_layer_; | 709 bool draws_background_onto_content_layer_; |
| 710 | 710 |
| 711 friend class CompositedLayerMappingTest; | 711 friend class CompositedLayerMappingTest; |
| 712 }; | 712 }; |
| 713 | 713 |
| 714 } // namespace blink | 714 } // namespace blink |
| 715 | 715 |
| 716 #endif // CompositedLayerMapping_h | 716 #endif // CompositedLayerMapping_h |
| OLD | NEW |