Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(879)

Side by Side Diff: cc/trees/layer_tree.cc

Issue 2323423002: cc: Add SwapPromiseManager and SurfaceSequenceGenerator. (Closed)
Patch Set: rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698