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 <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 const gfx::Rect ViewportRectForTilePriority() const; | 235 const gfx::Rect ViewportRectForTilePriority() const; |
236 | 236 |
237 // RendererClient implementation. | 237 // RendererClient implementation. |
238 void SetFullRootLayerDamage() override; | 238 void SetFullRootLayerDamage() override; |
239 | 239 |
240 // TileManagerClient implementation. | 240 // TileManagerClient implementation. |
241 const std::vector<PictureLayerImpl*>& GetPictureLayers() const override; | 241 const std::vector<PictureLayerImpl*>& GetPictureLayers() const override; |
242 void NotifyReadyToActivate() override; | 242 void NotifyReadyToActivate() override; |
243 void NotifyReadyToDraw() override; | 243 void NotifyReadyToDraw() override; |
244 void NotifyTileStateChanged(const Tile* tile) override; | 244 void NotifyTileStateChanged(const Tile* tile) override; |
245 void BuildRasterQueue(RasterTilePriorityQueue* queue, | 245 scoped_ptr<RasterTilePriorityQueue> BuildRasterQueue( |
246 TreePriority tree_priority, | 246 TreePriority tree_priority, |
247 RasterTilePriorityQueue::Type type) override; | 247 RasterTilePriorityQueue::Type type) override; |
248 void BuildEvictionQueue(EvictionTilePriorityQueue* queue, | 248 void BuildEvictionQueue(EvictionTilePriorityQueue* queue, |
249 TreePriority tree_priority) override; | 249 TreePriority tree_priority) override; |
250 | 250 |
251 // ScrollbarAnimationControllerClient implementation. | 251 // ScrollbarAnimationControllerClient implementation. |
252 void PostDelayedScrollbarFade(const base::Closure& start_fade, | 252 void PostDelayedScrollbarFade(const base::Closure& start_fade, |
253 base::TimeDelta delay) override; | 253 base::TimeDelta delay) override; |
254 void SetNeedsScrollbarAnimationFrame() override; | 254 void SetNeedsScrollbarAnimationFrame() override; |
255 | 255 |
256 // OutputSurfaceClient implementation. | 256 // OutputSurfaceClient implementation. |
257 void DeferredInitialize() override; | 257 void DeferredInitialize() override; |
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
730 | 730 |
731 bool requires_high_res_to_draw_; | 731 bool requires_high_res_to_draw_; |
732 bool required_for_draw_tile_is_top_of_raster_queue_; | 732 bool required_for_draw_tile_is_top_of_raster_queue_; |
733 | 733 |
734 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 734 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
735 }; | 735 }; |
736 | 736 |
737 } // namespace cc | 737 } // namespace cc |
738 | 738 |
739 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 739 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |