| 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 778 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 789 } | 789 } |
| 790 | 790 |
| 791 bool LayerTreeImpl::PinchGestureActive() const { | 791 bool LayerTreeImpl::PinchGestureActive() const { |
| 792 return layer_tree_host_impl_->pinch_gesture_active(); | 792 return layer_tree_host_impl_->pinch_gesture_active(); |
| 793 } | 793 } |
| 794 | 794 |
| 795 BeginFrameArgs LayerTreeImpl::CurrentBeginFrameArgs() const { | 795 BeginFrameArgs LayerTreeImpl::CurrentBeginFrameArgs() const { |
| 796 return layer_tree_host_impl_->CurrentBeginFrameArgs(); | 796 return layer_tree_host_impl_->CurrentBeginFrameArgs(); |
| 797 } | 797 } |
| 798 | 798 |
| 799 base::TimeDelta LayerTreeImpl::begin_impl_frame_interval() const { | 799 base::TimeDelta LayerTreeImpl::CurrentBeginFrameInterval() const { |
| 800 return layer_tree_host_impl_->begin_impl_frame_interval(); | 800 return layer_tree_host_impl_->CurrentBeginFrameInterval(); |
| 801 } | 801 } |
| 802 | 802 |
| 803 void LayerTreeImpl::SetNeedsCommit() { | 803 void LayerTreeImpl::SetNeedsCommit() { |
| 804 layer_tree_host_impl_->SetNeedsCommit(); | 804 layer_tree_host_impl_->SetNeedsCommit(); |
| 805 } | 805 } |
| 806 | 806 |
| 807 gfx::Rect LayerTreeImpl::DeviceViewport() const { | 807 gfx::Rect LayerTreeImpl::DeviceViewport() const { |
| 808 return layer_tree_host_impl_->DeviceViewport(); | 808 return layer_tree_host_impl_->DeviceViewport(); |
| 809 } | 809 } |
| 810 | 810 |
| (...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1520 scoped_ptr<PendingPageScaleAnimation> pending_animation) { | 1520 scoped_ptr<PendingPageScaleAnimation> pending_animation) { |
| 1521 pending_page_scale_animation_ = pending_animation.Pass(); | 1521 pending_page_scale_animation_ = pending_animation.Pass(); |
| 1522 } | 1522 } |
| 1523 | 1523 |
| 1524 scoped_ptr<PendingPageScaleAnimation> | 1524 scoped_ptr<PendingPageScaleAnimation> |
| 1525 LayerTreeImpl::TakePendingPageScaleAnimation() { | 1525 LayerTreeImpl::TakePendingPageScaleAnimation() { |
| 1526 return pending_page_scale_animation_.Pass(); | 1526 return pending_page_scale_animation_.Pass(); |
| 1527 } | 1527 } |
| 1528 | 1528 |
| 1529 } // namespace cc | 1529 } // namespace cc |
| OLD | NEW |