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 "CCLayerTreeHostImpl.h" | 7 #include "cc/layer_tree_host_impl.h" |
8 | 8 |
9 #include "CCAppendQuadsData.h" | 9 #include "CCAppendQuadsData.h" |
10 #include "CCDamageTracker.h" | 10 #include "CCDamageTracker.h" |
11 #include "CCDebugRectHistory.h" | 11 #include "CCDebugRectHistory.h" |
12 #include "CCDelayBasedTimeSource.h" | 12 #include "CCDelayBasedTimeSource.h" |
13 #include "CCFontAtlas.h" | 13 #include "CCFontAtlas.h" |
14 #include "CCFrameRateCounter.h" | 14 #include "CCFrameRateCounter.h" |
15 #include "CCHeadsUpDisplayLayerImpl.h" | 15 #include "CCHeadsUpDisplayLayerImpl.h" |
16 #include "CCLayerIterator.h" | 16 #include "CCLayerIterator.h" |
17 #include "CCLayerTreeHost.h" | 17 #include "CCLayerTreeHost.h" |
18 #include "CCLayerTreeHostCommon.h" | 18 #include "CCLayerTreeHostCommon.h" |
19 #include "CCMathUtil.h" | |
20 #include "CCOverdrawMetrics.h" | |
21 #include "CCPageScaleAnimation.h" | |
22 #include "CCPrioritizedTextureManager.h" | |
23 #include "CCRenderPassDrawQuad.h" | |
24 #include "base/basictypes.h" | 19 #include "base/basictypes.h" |
25 #include "base/debug/trace_event.h" | 20 #include "base/debug/trace_event.h" |
26 #include "cc/gl_renderer.h" | 21 #include "cc/gl_renderer.h" |
| 22 #include "cc/math_util.h" |
| 23 #include "cc/overdraw_metrics.h" |
| 24 #include "cc/page_scale_animation.h" |
| 25 #include "cc/prioritized_texture_manager.h" |
| 26 #include "cc/render_pass_draw_quad.h" |
27 #include "cc/rendering_stats.h" | 27 #include "cc/rendering_stats.h" |
28 #include "cc/scrollbar_animation_controller.h" | 28 #include "cc/scrollbar_animation_controller.h" |
29 #include "cc/scrollbar_layer_impl.h" | 29 #include "cc/scrollbar_layer_impl.h" |
30 #include "cc/settings.h" | 30 #include "cc/settings.h" |
31 #include "cc/single_thread_proxy.h" | 31 #include "cc/single_thread_proxy.h" |
32 #include "cc/software_renderer.h" | 32 #include "cc/software_renderer.h" |
33 #include "cc/texture_uploader.h" | 33 #include "cc/texture_uploader.h" |
34 #include <wtf/CurrentTime.h> | 34 #include <wtf/CurrentTime.h> |
35 #include <algorithm> | 35 #include <algorithm> |
36 | 36 |
(...skipping 1438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1475 | 1475 |
1476 CCScrollbarAnimationController* scrollbarController = layer->scrollbarAnimat
ionController(); | 1476 CCScrollbarAnimationController* scrollbarController = layer->scrollbarAnimat
ionController(); |
1477 if (scrollbarController && scrollbarController->animate(monotonicTime)) | 1477 if (scrollbarController && scrollbarController->animate(monotonicTime)) |
1478 m_client->setNeedsRedrawOnImplThread(); | 1478 m_client->setNeedsRedrawOnImplThread(); |
1479 | 1479 |
1480 for (size_t i = 0; i < layer->children().size(); ++i) | 1480 for (size_t i = 0; i < layer->children().size(); ++i) |
1481 animateScrollbarsRecursive(layer->children()[i], monotonicTime); | 1481 animateScrollbarsRecursive(layer->children()[i], monotonicTime); |
1482 } | 1482 } |
1483 | 1483 |
1484 } // namespace cc | 1484 } // namespace cc |
OLD | NEW |