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

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

Issue 787763006: cc: Adding BeginFrameTracker object and removing Now() from LTHI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing gn bots. Created 6 years 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 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 <limits> 7 #include <limits>
8 #include <set> 8 #include <set>
9 9
10 #include "base/debug/trace_event.h" 10 #include "base/debug/trace_event.h"
(...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 } 788 }
789 789
790 bool LayerTreeImpl::PinchGestureActive() const { 790 bool LayerTreeImpl::PinchGestureActive() const {
791 return layer_tree_host_impl_->pinch_gesture_active(); 791 return layer_tree_host_impl_->pinch_gesture_active();
792 } 792 }
793 793
794 BeginFrameArgs LayerTreeImpl::CurrentBeginFrameArgs() const { 794 BeginFrameArgs LayerTreeImpl::CurrentBeginFrameArgs() const {
795 return layer_tree_host_impl_->CurrentBeginFrameArgs(); 795 return layer_tree_host_impl_->CurrentBeginFrameArgs();
796 } 796 }
797 797
798 base::TimeDelta LayerTreeImpl::begin_impl_frame_interval() const { 798 base::TimeDelta LayerTreeImpl::CurrentBeginFrameInterval() const {
799 return layer_tree_host_impl_->begin_impl_frame_interval(); 799 return layer_tree_host_impl_->CurrentBeginFrameInterval();
800 } 800 }
801 801
802 void LayerTreeImpl::SetNeedsCommit() { 802 void LayerTreeImpl::SetNeedsCommit() {
803 layer_tree_host_impl_->SetNeedsCommit(); 803 layer_tree_host_impl_->SetNeedsCommit();
804 } 804 }
805 805
806 gfx::Rect LayerTreeImpl::DeviceViewport() const { 806 gfx::Rect LayerTreeImpl::DeviceViewport() const {
807 return layer_tree_host_impl_->DeviceViewport(); 807 return layer_tree_host_impl_->DeviceViewport();
808 } 808 }
809 809
(...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after
1519 scoped_ptr<PendingPageScaleAnimation> pending_animation) { 1519 scoped_ptr<PendingPageScaleAnimation> pending_animation) {
1520 pending_page_scale_animation_ = pending_animation.Pass(); 1520 pending_page_scale_animation_ = pending_animation.Pass();
1521 } 1521 }
1522 1522
1523 scoped_ptr<PendingPageScaleAnimation> 1523 scoped_ptr<PendingPageScaleAnimation>
1524 LayerTreeImpl::TakePendingPageScaleAnimation() { 1524 LayerTreeImpl::TakePendingPageScaleAnimation() {
1525 return pending_page_scale_animation_.Pass(); 1525 return pending_page_scale_animation_.Pass();
1526 } 1526 }
1527 1527
1528 } // namespace cc 1528 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698