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 "config.h" | 5 #include "config.h" |
6 | 6 |
7 #include "CCLayerTreeHost.h" | 7 #include "CCLayerTreeHost.h" |
8 | 8 |
9 #include "CCFontAtlas.h" | 9 #include "CCFontAtlas.h" |
10 #include "CCGraphicsContext.h" | 10 #include "CCGraphicsContext.h" |
11 #include "CCHeadsUpDisplayLayerImpl.h" | 11 #include "CCHeadsUpDisplayLayerImpl.h" |
12 #include "CCLayerAnimationController.h" | 12 #include "CCLayerAnimationController.h" |
13 #include "CCLayerIterator.h" | 13 #include "CCLayerIterator.h" |
14 #include "CCLayerTreeHostClient.h" | 14 #include "CCLayerTreeHostClient.h" |
15 #include "CCLayerTreeHostCommon.h" | 15 #include "CCLayerTreeHostCommon.h" |
16 #include "CCLayerTreeHostImpl.h" | 16 #include "CCLayerTreeHostImpl.h" |
17 #include "CCOcclusionTracker.h" | 17 #include "CCOcclusionTracker.h" |
18 #include "CCOverdrawMetrics.h" | 18 #include "CCOverdrawMetrics.h" |
19 #include "CCSettings.h" | 19 #include "CCSettings.h" |
20 #include "CCSingleThreadProxy.h" | 20 #include "CCSingleThreadProxy.h" |
21 #include "CCThreadProxy.h" | 21 #include "CCThreadProxy.h" |
22 #include "HeadsUpDisplayLayerChromium.h" | |
23 #include "LayerChromium.h" | |
24 #include "Region.h" | 22 #include "Region.h" |
25 #include "TraceEvent.h" | 23 #include "TraceEvent.h" |
26 #include "TreeSynchronizer.h" | 24 #include "cc/heads_up_display_layer.h" |
| 25 #include "cc/layer.h" |
| 26 #include "cc/tree_synchronizer.h" |
27 | 27 |
28 using namespace std; | 28 using namespace std; |
29 using WebKit::WebTransformationMatrix; | 29 using WebKit::WebTransformationMatrix; |
30 | 30 |
31 namespace { | 31 namespace { |
32 static int numLayerTreeInstances; | 32 static int numLayerTreeInstances; |
33 } | 33 } |
34 | 34 |
35 namespace cc { | 35 namespace cc { |
36 | 36 |
(...skipping 780 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
817 else | 817 else |
818 layer->notifyAnimationFinished(wallClockTime); | 818 layer->notifyAnimationFinished(wallClockTime); |
819 } | 819 } |
820 } | 820 } |
821 | 821 |
822 for (size_t childIndex = 0; childIndex < layer->children().size(); ++childIn
dex) | 822 for (size_t childIndex = 0; childIndex < layer->children().size(); ++childIn
dex) |
823 setAnimationEventsRecursive(events, layer->children()[childIndex].get(),
wallClockTime); | 823 setAnimationEventsRecursive(events, layer->children()[childIndex].get(),
wallClockTime); |
824 } | 824 } |
825 | 825 |
826 } // namespace cc | 826 } // namespace cc |
OLD | NEW |