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 "cc/layer_tree_host_impl.h" | 7 #include "cc/layer_tree_host_impl.h" |
8 | 8 |
9 #include "CCAppendQuadsData.h" | |
10 #include "CCDamageTracker.h" | |
11 #include "CCDebugRectHistory.h" | |
12 #include "CCDelayBasedTimeSource.h" | |
13 #include "CCFontAtlas.h" | |
14 #include "CCFrameRateCounter.h" | |
15 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
16 #include "base/debug/trace_event.h" | 10 #include "base/debug/trace_event.h" |
| 11 #include "cc/append_quads_data.h" |
| 12 #include "cc/damage_tracker.h" |
| 13 #include "cc/debug_rect_history.h" |
| 14 #include "cc/delay_based_time_source.h" |
| 15 #include "cc/font_atlas.h" |
| 16 #include "cc/frame_rate_counter.h" |
17 #include "cc/gl_renderer.h" | 17 #include "cc/gl_renderer.h" |
18 #include "cc/heads_up_display_layer_impl.h" | 18 #include "cc/heads_up_display_layer_impl.h" |
19 #include "cc/layer_iterator.h" | 19 #include "cc/layer_iterator.h" |
20 #include "cc/layer_tree_host.h" | 20 #include "cc/layer_tree_host.h" |
21 #include "cc/layer_tree_host_common.h" | 21 #include "cc/layer_tree_host_common.h" |
22 #include "cc/math_util.h" | 22 #include "cc/math_util.h" |
23 #include "cc/overdraw_metrics.h" | 23 #include "cc/overdraw_metrics.h" |
24 #include "cc/page_scale_animation.h" | 24 #include "cc/page_scale_animation.h" |
25 #include "cc/prioritized_texture_manager.h" | 25 #include "cc/prioritized_texture_manager.h" |
26 #include "cc/render_pass_draw_quad.h" | 26 #include "cc/render_pass_draw_quad.h" |
(...skipping 1454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1481 | 1481 |
1482 ScrollbarAnimationController* scrollbarController = layer->scrollbarAnimatio
nController(); | 1482 ScrollbarAnimationController* scrollbarController = layer->scrollbarAnimatio
nController(); |
1483 if (scrollbarController && scrollbarController->animate(monotonicTime)) | 1483 if (scrollbarController && scrollbarController->animate(monotonicTime)) |
1484 m_client->setNeedsRedrawOnImplThread(); | 1484 m_client->setNeedsRedrawOnImplThread(); |
1485 | 1485 |
1486 for (size_t i = 0; i < layer->children().size(); ++i) | 1486 for (size_t i = 0; i < layer->children().size(); ++i) |
1487 animateScrollbarsRecursive(layer->children()[i], monotonicTime); | 1487 animateScrollbarsRecursive(layer->children()[i], monotonicTime); |
1488 } | 1488 } |
1489 | 1489 |
1490 } // namespace cc | 1490 } // namespace cc |
OLD | NEW |