| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 LayerTreeHostClient* client() { return client_; } | 163 LayerTreeHostClient* client() { return client_; } |
| 164 const base::WeakPtr<InputHandler>& GetInputHandler() { | 164 const base::WeakPtr<InputHandler>& GetInputHandler() { |
| 165 return input_handler_weak_ptr_; | 165 return input_handler_weak_ptr_; |
| 166 } | 166 } |
| 167 | 167 |
| 168 void NotifyInputThrottledUntilCommit(); | 168 void NotifyInputThrottledUntilCommit(); |
| 169 | 169 |
| 170 void LayoutAndUpdateLayers(); | 170 void LayoutAndUpdateLayers(); |
| 171 void Composite(base::TimeTicks frame_begin_time); | 171 void Composite(base::TimeTicks frame_begin_time); |
| 172 | 172 |
| 173 void FinishAllRendering(); | |
| 174 | |
| 175 void SetDeferCommits(bool defer_commits); | 173 void SetDeferCommits(bool defer_commits); |
| 176 | 174 |
| 177 int source_frame_number() const { return source_frame_number_; } | 175 int source_frame_number() const { return source_frame_number_; } |
| 178 | 176 |
| 179 bool gpu_rasterization_histogram_recorded() const { | 177 bool gpu_rasterization_histogram_recorded() const { |
| 180 return gpu_rasterization_histogram_recorded_; | 178 return gpu_rasterization_histogram_recorded_; |
| 181 } | 179 } |
| 182 | 180 |
| 183 void SetNeedsDisplayOnAllLayers(); | 181 void SetNeedsDisplayOnAllLayers(); |
| 184 | 182 |
| (...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 600 | 598 |
| 601 // Layer tree that hold layers. | 599 // Layer tree that hold layers. |
| 602 LayerTree layer_tree_; | 600 LayerTree layer_tree_; |
| 603 | 601 |
| 604 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 602 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
| 605 }; | 603 }; |
| 606 | 604 |
| 607 } // namespace cc | 605 } // namespace cc |
| 608 | 606 |
| 609 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 607 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
| OLD | NEW |