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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
437 SharedBitmapManager* shared_bitmap_manager_; | 436 SharedBitmapManager* shared_bitmap_manager_; |
438 | 437 |
439 ScopedPtrVector<SwapPromise> swap_promise_list_; | 438 ScopedPtrVector<SwapPromise> swap_promise_list_; |
440 | 439 |
441 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 440 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
442 }; | 441 }; |
443 | 442 |
444 } // namespace cc | 443 } // namespace cc |
445 | 444 |
446 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 445 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
OLD | NEW |