| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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_HOST_IMPL_H_ | 5 #ifndef CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| 6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 | 228 |
| 229 // Viewport rect in view space used for tiling prioritization. | 229 // Viewport rect in view space used for tiling prioritization. |
| 230 const gfx::Rect ViewportRectForTilePriority() const; | 230 const gfx::Rect ViewportRectForTilePriority() const; |
| 231 | 231 |
| 232 // RendererClient implementation. | 232 // RendererClient implementation. |
| 233 void SetFullRootLayerDamage() override; | 233 void SetFullRootLayerDamage() override; |
| 234 | 234 |
| 235 // TileManagerClient implementation. | 235 // TileManagerClient implementation. |
| 236 const std::vector<PictureLayerImpl*>& GetPictureLayers() const override; | 236 const std::vector<PictureLayerImpl*>& GetPictureLayers() const override; |
| 237 void NotifyReadyToActivate() override; | 237 void NotifyReadyToActivate() override; |
| 238 void NotifyTileStateChanged(const Tile* tile) override; | 238 void NotifyTileStateChanged(const Tile* tile, bool visible_tile) override; |
| 239 void BuildRasterQueue(RasterTilePriorityQueue* queue, | 239 void BuildRasterQueue(RasterTilePriorityQueue* queue, |
| 240 TreePriority tree_priority) override; | 240 TreePriority tree_priority) override; |
| 241 void BuildEvictionQueue(EvictionTilePriorityQueue* queue, | 241 void BuildEvictionQueue(EvictionTilePriorityQueue* queue, |
| 242 TreePriority tree_priority) override; | 242 TreePriority tree_priority) override; |
| 243 | 243 |
| 244 // ScrollbarAnimationControllerClient implementation. | 244 // ScrollbarAnimationControllerClient implementation. |
| 245 void PostDelayedScrollbarFade(const base::Closure& start_fade, | 245 void PostDelayedScrollbarFade(const base::Closure& start_fade, |
| 246 base::TimeDelta delay) override; | 246 base::TimeDelta delay) override; |
| 247 void SetNeedsScrollbarAnimationFrame() override; | 247 void SetNeedsScrollbarAnimationFrame() override; |
| 248 | 248 |
| (...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 710 std::vector<PictureLayerImpl::Pair> picture_layer_pairs_; | 710 std::vector<PictureLayerImpl::Pair> picture_layer_pairs_; |
| 711 | 711 |
| 712 bool requires_high_res_to_draw_; | 712 bool requires_high_res_to_draw_; |
| 713 | 713 |
| 714 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 714 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 715 }; | 715 }; |
| 716 | 716 |
| 717 } // namespace cc | 717 } // namespace cc |
| 718 | 718 |
| 719 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 719 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |