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 1359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1370 } | 1370 } |
1371 | 1371 |
1372 void LayerTreeImpl::UnregisterPictureLayerImpl(PictureLayerImpl* layer) { | 1372 void LayerTreeImpl::UnregisterPictureLayerImpl(PictureLayerImpl* layer) { |
1373 layer_tree_host_impl_->UnregisterPictureLayerImpl(layer); | 1373 layer_tree_host_impl_->UnregisterPictureLayerImpl(layer); |
1374 } | 1374 } |
1375 | 1375 |
1376 void LayerTreeImpl::InputScrollAnimationFinished() { | 1376 void LayerTreeImpl::InputScrollAnimationFinished() { |
1377 layer_tree_host_impl_->ScrollEnd(); | 1377 layer_tree_host_impl_->ScrollEnd(); |
1378 } | 1378 } |
1379 | 1379 |
1380 size_t LayerTreeImpl::NumLayers() { | |
danakj
2014/07/10 21:27:44
can you move up below Register/UnregisterLayer()
dneto
2014/07/11 15:23:30
Acknowledged.
| |
1381 return layer_id_map_.size(); | |
1382 } | |
1383 | |
1380 } // namespace cc | 1384 } // namespace cc |
OLD | NEW |