OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #include "cc/trees/layer_tree.h" | 5 #include "cc/trees/layer_tree.h" |
6 | 6 |
7 #include "base/auto_reset.h" | 7 #include "base/auto_reset.h" |
8 #include "base/time/time.h" | 8 #include "base/time/time.h" |
9 #include "cc/animation/animation_host.h" | 9 #include "cc/animation/animation_host.h" |
10 #include "cc/input/page_scale_animation.h" | 10 #include "cc/input/page_scale_animation.h" |
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
721 } | 721 } |
722 | 722 |
723 UIResourceManager* LayerTree::GetUIResourceManager() const { | 723 UIResourceManager* LayerTree::GetUIResourceManager() const { |
724 return layer_tree_host_->GetUIResourceManager(); | 724 return layer_tree_host_->GetUIResourceManager(); |
725 } | 725 } |
726 | 726 |
727 const LayerTreeSettings& LayerTree::GetSettings() const { | 727 const LayerTreeSettings& LayerTree::GetSettings() const { |
728 return layer_tree_host_->GetSettings(); | 728 return layer_tree_host_->GetSettings(); |
729 } | 729 } |
730 | 730 |
| 731 SwapPromiseManager* LayerTree::GetSwapPromiseManager() const { |
| 732 return layer_tree_host_->GetSwapPromiseManager(); |
| 733 } |
| 734 |
| 735 SurfaceSequenceGenerator* LayerTree::GetSurfaceSequenceGenerator() const { |
| 736 return layer_tree_host_->GetSurfaceSequenceGenerator(); |
| 737 } |
| 738 |
731 } // namespace cc | 739 } // namespace cc |
OLD | NEW |