| 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 const gfx::Rect ViewportRectForTilePriority() const; | 238 const gfx::Rect ViewportRectForTilePriority() const; |
| 239 | 239 |
| 240 // RendererClient implementation. | 240 // RendererClient implementation. |
| 241 void SetFullRootLayerDamage() override; | 241 void SetFullRootLayerDamage() override; |
| 242 | 242 |
| 243 // TileManagerClient implementation. | 243 // TileManagerClient implementation. |
| 244 const std::vector<PictureLayerImpl*>& GetPictureLayers() const override; | 244 const std::vector<PictureLayerImpl*>& GetPictureLayers() const override; |
| 245 void NotifyReadyToActivate() override; | 245 void NotifyReadyToActivate() override; |
| 246 void NotifyReadyToDraw() override; | 246 void NotifyReadyToDraw() override; |
| 247 void NotifyTileStateChanged(const Tile* tile) override; | 247 void NotifyTileStateChanged(const Tile* tile) override; |
| 248 void BuildRasterQueue(RasterTilePriorityQueue* queue, | 248 scoped_ptr<RasterTilePriorityQueue> BuildRasterQueue( |
| 249 TreePriority tree_priority, | 249 TreePriority tree_priority, |
| 250 RasterTilePriorityQueue::Type type) override; | 250 RasterTilePriorityQueue::Type type) override; |
| 251 void BuildEvictionQueue(EvictionTilePriorityQueue* queue, | 251 scoped_ptr<EvictionTilePriorityQueue> BuildEvictionQueue( |
| 252 TreePriority tree_priority) override; | 252 TreePriority tree_priority) override; |
| 253 | 253 |
| 254 // ScrollbarAnimationControllerClient implementation. | 254 // ScrollbarAnimationControllerClient implementation. |
| 255 void PostDelayedScrollbarFade(const base::Closure& start_fade, | 255 void PostDelayedScrollbarFade(const base::Closure& start_fade, |
| 256 base::TimeDelta delay) override; | 256 base::TimeDelta delay) override; |
| 257 void SetNeedsScrollbarAnimationFrame() override; | 257 void SetNeedsScrollbarAnimationFrame() override; |
| 258 | 258 |
| 259 // OutputSurfaceClient implementation. | 259 // OutputSurfaceClient implementation. |
| 260 void DeferredInitialize() override; | 260 void DeferredInitialize() override; |
| 261 void ReleaseGL() override; | 261 void ReleaseGL() override; |
| 262 void CommitVSyncParameters(base::TimeTicks timebase, | 262 void CommitVSyncParameters(base::TimeTicks timebase, |
| (...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 726 | 726 |
| 727 bool requires_high_res_to_draw_; | 727 bool requires_high_res_to_draw_; |
| 728 bool required_for_draw_tile_is_top_of_raster_queue_; | 728 bool required_for_draw_tile_is_top_of_raster_queue_; |
| 729 | 729 |
| 730 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 730 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 731 }; | 731 }; |
| 732 | 732 |
| 733 } // namespace cc | 733 } // namespace cc |
| 734 | 734 |
| 735 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 735 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |