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

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

Issue 1039533002: cc: Add support for sending BeginFrames for video. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@misc_video_refactoring
Patch Set: Fix comment. Created 5 years, 8 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') | cc/trees/single_thread_proxy.h » ('j') | 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 1541 matching lines...) Expand 10 before | Expand all | Expand 10 after
1552 } 1552 }
1553 1553
1554 bool LayerTreeImpl::SmoothnessTakesPriority() const { 1554 bool LayerTreeImpl::SmoothnessTakesPriority() const {
1555 return layer_tree_host_impl_->GetTreePriority() == SMOOTHNESS_TAKES_PRIORITY; 1555 return layer_tree_host_impl_->GetTreePriority() == SMOOTHNESS_TAKES_PRIORITY;
1556 } 1556 }
1557 1557
1558 BlockingTaskRunner* LayerTreeImpl::BlockingMainThreadTaskRunner() const { 1558 BlockingTaskRunner* LayerTreeImpl::BlockingMainThreadTaskRunner() const {
1559 return proxy()->blocking_main_thread_task_runner(); 1559 return proxy()->blocking_main_thread_task_runner();
1560 } 1560 }
1561 1561
1562 VideoFrameControllerClient* LayerTreeImpl::GetVideoFrameControllerClient()
1563 const {
1564 return layer_tree_host_impl_;
1565 }
1566
1562 void LayerTreeImpl::SetPendingPageScaleAnimation( 1567 void LayerTreeImpl::SetPendingPageScaleAnimation(
1563 scoped_ptr<PendingPageScaleAnimation> pending_animation) { 1568 scoped_ptr<PendingPageScaleAnimation> pending_animation) {
1564 pending_page_scale_animation_ = pending_animation.Pass(); 1569 pending_page_scale_animation_ = pending_animation.Pass();
1565 } 1570 }
1566 1571
1567 scoped_ptr<PendingPageScaleAnimation> 1572 scoped_ptr<PendingPageScaleAnimation>
1568 LayerTreeImpl::TakePendingPageScaleAnimation() { 1573 LayerTreeImpl::TakePendingPageScaleAnimation() {
1569 return pending_page_scale_animation_.Pass(); 1574 return pending_page_scale_animation_.Pass();
1570 } 1575 }
1571 1576
1572 } // namespace cc 1577 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_impl.h ('k') | cc/trees/single_thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698