| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CC_TREES_LAYER_TREE_IMPL_H_ | 5 #ifndef CC_TREES_LAYER_TREE_IMPL_H_ |
| 6 #define CC_TREES_LAYER_TREE_IMPL_H_ | 6 #define CC_TREES_LAYER_TREE_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 490 | 490 |
| 491 void ResetAllChangeTracking(); | 491 void ResetAllChangeTracking(); |
| 492 | 492 |
| 493 void AddToLayerList(LayerImpl* layer); | 493 void AddToLayerList(LayerImpl* layer); |
| 494 | 494 |
| 495 void ClearLayerList(); | 495 void ClearLayerList(); |
| 496 | 496 |
| 497 void BuildLayerListForTesting(); | 497 void BuildLayerListForTesting(); |
| 498 void HandleScrollbarShowRequestsFromMain(); | 498 void HandleScrollbarShowRequestsFromMain(); |
| 499 | 499 |
| 500 void InvalidateRegionForImages(const ImageIdFlatSet& images_to_invalidate); | 500 void InvalidateRegionForImages( |
| 501 const PaintImageIdFlatSet& images_to_invalidate); |
| 501 | 502 |
| 502 LayerTreeLifecycle& lifecycle() { return lifecycle_; } | 503 LayerTreeLifecycle& lifecycle() { return lifecycle_; } |
| 503 | 504 |
| 504 protected: | 505 protected: |
| 505 float ClampPageScaleFactorToLimits(float page_scale_factor) const; | 506 float ClampPageScaleFactorToLimits(float page_scale_factor) const; |
| 506 void PushPageScaleFactorAndLimits(const float* page_scale_factor, | 507 void PushPageScaleFactorAndLimits(const float* page_scale_factor, |
| 507 float min_page_scale_factor, | 508 float min_page_scale_factor, |
| 508 float max_page_scale_factor); | 509 float max_page_scale_factor); |
| 509 bool SetPageScaleFactorLimits(float min_page_scale_factor, | 510 bool SetPageScaleFactorLimits(float min_page_scale_factor, |
| 510 float max_page_scale_factor); | 511 float max_page_scale_factor); |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 619 // lifecycle states. See: |LayerTreeLifecycle|. | 620 // lifecycle states. See: |LayerTreeLifecycle|. |
| 620 LayerTreeLifecycle lifecycle_; | 621 LayerTreeLifecycle lifecycle_; |
| 621 | 622 |
| 622 private: | 623 private: |
| 623 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 624 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
| 624 }; | 625 }; |
| 625 | 626 |
| 626 } // namespace cc | 627 } // namespace cc |
| 627 | 628 |
| 628 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 629 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
| OLD | NEW |