| 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_H_ | 5 #ifndef CC_TREES_LAYER_TREE_HOST_H_ |
| 6 #define CC_TREES_LAYER_TREE_HOST_H_ | 6 #define CC_TREES_LAYER_TREE_HOST_H_ |
| 7 | 7 |
| 8 #include <limits> | 8 #include <limits> |
| 9 #include <list> | 9 #include <list> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 void SetNeedsDisplayOnAllLayers(); | 159 void SetNeedsDisplayOnAllLayers(); |
| 160 | 160 |
| 161 void CollectRenderingStats(RenderingStats* stats) const; | 161 void CollectRenderingStats(RenderingStats* stats) const; |
| 162 | 162 |
| 163 RenderingStatsInstrumentation* rendering_stats_instrumentation() const { | 163 RenderingStatsInstrumentation* rendering_stats_instrumentation() const { |
| 164 return rendering_stats_instrumentation_.get(); | 164 return rendering_stats_instrumentation_.get(); |
| 165 } | 165 } |
| 166 | 166 |
| 167 const RendererCapabilities& GetRendererCapabilities() const; | 167 const RendererCapabilities& GetRendererCapabilities() const; |
| 168 | 168 |
| 169 void SetNeedsAnimate(); | |
| 170 virtual void SetNeedsUpdateLayers(); | 169 virtual void SetNeedsUpdateLayers(); |
| 171 virtual void SetNeedsCommit(); | 170 virtual void SetNeedsCommit(); |
| 172 virtual void SetNeedsFullTreeSync(); | 171 virtual void SetNeedsFullTreeSync(); |
| 173 void SetNeedsRedraw(); | 172 void SetNeedsRedraw(); |
| 174 void SetNeedsRedrawRect(gfx::Rect damage_rect); | 173 void SetNeedsRedrawRect(gfx::Rect damage_rect); |
| 175 bool CommitRequested() const; | 174 bool CommitRequested() const; |
| 176 bool BeginMainFrameRequested() const; | 175 bool BeginMainFrameRequested() const; |
| 177 | 176 |
| 178 void SetNextCommitWaitsForActivation(); | 177 void SetNextCommitWaitsForActivation(); |
| 179 | 178 |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 scoped_refptr<Layer> outer_viewport_scroll_layer_; | 431 scoped_refptr<Layer> outer_viewport_scroll_layer_; |
| 433 | 432 |
| 434 SharedBitmapManager* shared_bitmap_manager_; | 433 SharedBitmapManager* shared_bitmap_manager_; |
| 435 | 434 |
| 436 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 435 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
| 437 }; | 436 }; |
| 438 | 437 |
| 439 } // namespace cc | 438 } // namespace cc |
| 440 | 439 |
| 441 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 440 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
| OLD | NEW |