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

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

Issue 948243003: cc: Misc animation refactoring (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address danakj's comment. Created 5 years, 9 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
« no previous file with comments | « cc/trees/layer_tree_impl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "cc/trees/layer_tree_impl.h" 5 #include "cc/trees/layer_tree_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 #include <set> 9 #include <set>
10 10
(...skipping 966 matching lines...) Expand 10 before | Expand all | Expand 10 after
977 } 977 }
978 978
979 bool LayerTreeImpl::create_low_res_tiling() const { 979 bool LayerTreeImpl::create_low_res_tiling() const {
980 return layer_tree_host_impl_->create_low_res_tiling(); 980 return layer_tree_host_impl_->create_low_res_tiling();
981 } 981 }
982 982
983 void LayerTreeImpl::SetNeedsRedraw() { 983 void LayerTreeImpl::SetNeedsRedraw() {
984 layer_tree_host_impl_->SetNeedsRedraw(); 984 layer_tree_host_impl_->SetNeedsRedraw();
985 } 985 }
986 986
987 AnimationRegistrar* LayerTreeImpl::animationRegistrar() const { 987 AnimationRegistrar* LayerTreeImpl::GetAnimationRegistrar() const {
988 return layer_tree_host_impl_->animation_registrar(); 988 return layer_tree_host_impl_->animation_registrar();
989 } 989 }
990 990
991 void LayerTreeImpl::GetAllTilesForTracing(std::set<const Tile*>* tiles) const { 991 void LayerTreeImpl::GetAllTilesForTracing(std::set<const Tile*>* tiles) const {
992 typedef LayerIterator<LayerImpl> LayerIteratorType; 992 typedef LayerIterator<LayerImpl> LayerIteratorType;
993 LayerIteratorType end = LayerIteratorType::End(&render_surface_layer_list_); 993 LayerIteratorType end = LayerIteratorType::End(&render_surface_layer_list_);
994 for (LayerIteratorType it = 994 for (LayerIteratorType it =
995 LayerIteratorType::Begin(&render_surface_layer_list_); 995 LayerIteratorType::Begin(&render_surface_layer_list_);
996 it != end; 996 it != end;
997 ++it) { 997 ++it) {
(...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after
1654 scoped_ptr<PendingPageScaleAnimation> pending_animation) { 1654 scoped_ptr<PendingPageScaleAnimation> pending_animation) {
1655 pending_page_scale_animation_ = pending_animation.Pass(); 1655 pending_page_scale_animation_ = pending_animation.Pass();
1656 } 1656 }
1657 1657
1658 scoped_ptr<PendingPageScaleAnimation> 1658 scoped_ptr<PendingPageScaleAnimation>
1659 LayerTreeImpl::TakePendingPageScaleAnimation() { 1659 LayerTreeImpl::TakePendingPageScaleAnimation() {
1660 return pending_page_scale_animation_.Pass(); 1660 return pending_page_scale_animation_.Pass();
1661 } 1661 }
1662 1662
1663 } // namespace cc 1663 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698