| 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/layer_tree_impl.h" | 5 #include "cc/layer_tree_impl.h" |
| 6 | 6 |
| 7 #include "base/debug/trace_event.h" | 7 #include "base/debug/trace_event.h" |
| 8 #include "cc/heads_up_display_layer_impl.h" | 8 #include "cc/heads_up_display_layer_impl.h" |
| 9 #include "cc/layer_tree_host_common.h" | 9 #include "cc/layer_tree_host_common.h" |
| 10 #include "cc/layer_tree_host_impl.h" | 10 #include "cc/layer_tree_host_impl.h" |
| (...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 367 } | 367 } |
| 368 | 368 |
| 369 FrameRateCounter* LayerTreeImpl::frame_rate_counter() const { | 369 FrameRateCounter* LayerTreeImpl::frame_rate_counter() const { |
| 370 return layer_tree_host_impl_->fpsCounter(); | 370 return layer_tree_host_impl_->fpsCounter(); |
| 371 } | 371 } |
| 372 | 372 |
| 373 PaintTimeCounter* LayerTreeImpl::paint_time_counter() const { | 373 PaintTimeCounter* LayerTreeImpl::paint_time_counter() const { |
| 374 return layer_tree_host_impl_->paintTimeCounter(); | 374 return layer_tree_host_impl_->paintTimeCounter(); |
| 375 } | 375 } |
| 376 | 376 |
| 377 MemoryHistory* LayerTreeImpl::memory_history() const { |
| 378 return layer_tree_host_impl_->memoryHistory(); |
| 379 } |
| 380 |
| 377 bool LayerTreeImpl::IsActiveTree() const { | 381 bool LayerTreeImpl::IsActiveTree() const { |
| 378 return layer_tree_host_impl_->activeTree() == this; | 382 return layer_tree_host_impl_->activeTree() == this; |
| 379 } | 383 } |
| 380 | 384 |
| 381 bool LayerTreeImpl::IsPendingTree() const { | 385 bool LayerTreeImpl::IsPendingTree() const { |
| 382 return layer_tree_host_impl_->pendingTree() == this; | 386 return layer_tree_host_impl_->pendingTree() == this; |
| 383 } | 387 } |
| 384 | 388 |
| 385 bool LayerTreeImpl::IsRecycleTree() const { | 389 bool LayerTreeImpl::IsRecycleTree() const { |
| 386 return layer_tree_host_impl_->recycleTree() == this; | 390 return layer_tree_host_impl_->recycleTree() == this; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 438 | 442 |
| 439 DebugRectHistory* LayerTreeImpl::debug_rect_history() const { | 443 DebugRectHistory* LayerTreeImpl::debug_rect_history() const { |
| 440 return layer_tree_host_impl_->debugRectHistory(); | 444 return layer_tree_host_impl_->debugRectHistory(); |
| 441 } | 445 } |
| 442 | 446 |
| 443 AnimationRegistrar* LayerTreeImpl::animationRegistrar() const { | 447 AnimationRegistrar* LayerTreeImpl::animationRegistrar() const { |
| 444 return layer_tree_host_impl_->animationRegistrar(); | 448 return layer_tree_host_impl_->animationRegistrar(); |
| 445 } | 449 } |
| 446 | 450 |
| 447 } // namespace cc | 451 } // namespace cc |
| OLD | NEW |