| 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_host.h" | 5 #include "cc/layer_tree_host.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/debug/trace_event.h" | 8 #include "base/debug/trace_event.h" |
| 9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
| 10 #include "base/stl_util.h" | 10 #include "base/stl_util.h" |
| (...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 891 layer->notifyAnimationStarted(events[eventIndex], wallClockTime.
ToDoubleT()); | 891 layer->notifyAnimationStarted(events[eventIndex], wallClockTime.
ToDoubleT()); |
| 892 else | 892 else |
| 893 layer->notifyAnimationFinished(wallClockTime.ToDoubleT()); | 893 layer->notifyAnimationFinished(wallClockTime.ToDoubleT()); |
| 894 } | 894 } |
| 895 } | 895 } |
| 896 | 896 |
| 897 for (size_t childIndex = 0; childIndex < layer->children().size(); ++childIn
dex) | 897 for (size_t childIndex = 0; childIndex < layer->children().size(); ++childIn
dex) |
| 898 setAnimationEventsRecursive(events, layer->children()[childIndex].get(),
wallClockTime); | 898 setAnimationEventsRecursive(events, layer->children()[childIndex].get(),
wallClockTime); |
| 899 } | 899 } |
| 900 | 900 |
| 901 scoped_refptr<PicturePileImpl> LayerTreeHost::capturePicturePile() |
| 902 { |
| 903 return m_proxy->capturePicturePile(); |
| 904 } |
| 905 |
| 901 } // namespace cc | 906 } // namespace cc |
| OLD | NEW |