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

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

Issue 361143002: Impl thread smooth scrolling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add/update unit tests. Created 6 years, 5 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 | Annotate | Revision Log
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 1298 matching lines...) Expand 10 before | Expand all | Expand 10 after
1309 } 1309 }
1310 1310
1311 void LayerTreeImpl::RegisterPictureLayerImpl(PictureLayerImpl* layer) { 1311 void LayerTreeImpl::RegisterPictureLayerImpl(PictureLayerImpl* layer) {
1312 layer_tree_host_impl_->RegisterPictureLayerImpl(layer); 1312 layer_tree_host_impl_->RegisterPictureLayerImpl(layer);
1313 } 1313 }
1314 1314
1315 void LayerTreeImpl::UnregisterPictureLayerImpl(PictureLayerImpl* layer) { 1315 void LayerTreeImpl::UnregisterPictureLayerImpl(PictureLayerImpl* layer) {
1316 layer_tree_host_impl_->UnregisterPictureLayerImpl(layer); 1316 layer_tree_host_impl_->UnregisterPictureLayerImpl(layer);
1317 } 1317 }
1318 1318
1319 void LayerTreeImpl::ScrollOffsetAnimationFinished() {
1320 layer_tree_host_impl_->ScrollEnd();
1321 }
1322
1319 } // namespace cc 1323 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698