| 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 <set> | 10 #include <set> |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 bool UpdateLayers(ResourceUpdateQueue* queue); | 122 bool UpdateLayers(ResourceUpdateQueue* queue); |
| 123 | 123 |
| 124 LayerTreeHostClient* client() { return client_; } | 124 LayerTreeHostClient* client() { return client_; } |
| 125 const base::WeakPtr<InputHandler>& GetInputHandler() { | 125 const base::WeakPtr<InputHandler>& GetInputHandler() { |
| 126 return input_handler_weak_ptr_; | 126 return input_handler_weak_ptr_; |
| 127 } | 127 } |
| 128 | 128 |
| 129 void NotifyInputThrottledUntilCommit(); | 129 void NotifyInputThrottledUntilCommit(); |
| 130 | 130 |
| 131 void Composite(base::TimeTicks frame_begin_time); | 131 void Composite(base::TimeTicks frame_begin_time); |
| 132 void CompositeNoSwap(base::TimeTicks frame_begin_time); |
| 132 | 133 |
| 133 void FinishAllRendering(); | 134 void FinishAllRendering(); |
| 134 | 135 |
| 135 void SetDeferCommits(bool defer_commits); | 136 void SetDeferCommits(bool defer_commits); |
| 136 | 137 |
| 137 // Test only hook | 138 // Test only hook |
| 138 virtual void DidDeferCommit(); | 139 virtual void DidDeferCommit(); |
| 139 | 140 |
| 140 int source_frame_number() const { return source_frame_number_; } | 141 int source_frame_number() const { return source_frame_number_; } |
| 141 | 142 |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 | 451 |
| 451 ScopedPtrVector<SwapPromise> swap_promise_list_; | 452 ScopedPtrVector<SwapPromise> swap_promise_list_; |
| 452 std::set<SwapPromiseMonitor*> swap_promise_monitor_; | 453 std::set<SwapPromiseMonitor*> swap_promise_monitor_; |
| 453 | 454 |
| 454 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 455 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
| 455 }; | 456 }; |
| 456 | 457 |
| 457 } // namespace cc | 458 } // namespace cc |
| 458 | 459 |
| 459 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 460 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
| OLD | NEW |