| 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 <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 } | 141 } |
| 142 | 142 |
| 143 void NotifyInputThrottledUntilCommit(); | 143 void NotifyInputThrottledUntilCommit(); |
| 144 | 144 |
| 145 void Composite(base::TimeTicks frame_begin_time); | 145 void Composite(base::TimeTicks frame_begin_time); |
| 146 | 146 |
| 147 void FinishAllRendering(); | 147 void FinishAllRendering(); |
| 148 | 148 |
| 149 void SetDeferCommits(bool defer_commits); | 149 void SetDeferCommits(bool defer_commits); |
| 150 | 150 |
| 151 // Test only hook | |
| 152 virtual void DidDeferCommit(); | |
| 153 | |
| 154 int source_frame_number() const { return source_frame_number_; } | 151 int source_frame_number() const { return source_frame_number_; } |
| 155 | 152 |
| 156 void SetNeedsDisplayOnAllLayers(); | 153 void SetNeedsDisplayOnAllLayers(); |
| 157 | 154 |
| 158 void CollectRenderingStats(RenderingStats* stats) const; | 155 void CollectRenderingStats(RenderingStats* stats) const; |
| 159 | 156 |
| 160 RenderingStatsInstrumentation* rendering_stats_instrumentation() const { | 157 RenderingStatsInstrumentation* rendering_stats_instrumentation() const { |
| 161 return rendering_stats_instrumentation_.get(); | 158 return rendering_stats_instrumentation_.get(); |
| 162 } | 159 } |
| 163 | 160 |
| (...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 484 | 481 |
| 485 uint32_t surface_id_namespace_; | 482 uint32_t surface_id_namespace_; |
| 486 uint32_t next_surface_sequence_; | 483 uint32_t next_surface_sequence_; |
| 487 | 484 |
| 488 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 485 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
| 489 }; | 486 }; |
| 490 | 487 |
| 491 } // namespace cc | 488 } // namespace cc |
| 492 | 489 |
| 493 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 490 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
| OLD | NEW |