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 #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 Loading... |
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 Loading... |
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 |
OLD | NEW |