OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 <stddef.h> | 5 #include <stddef.h> |
6 | 6 |
7 #include <unordered_map> | 7 #include <unordered_map> |
8 | 8 |
| 9 #include "base/memory/ptr_util.h" |
9 #include "base/threading/thread_task_runner_handle.h" | 10 #include "base/threading/thread_task_runner_handle.h" |
10 #include "cc/animation/animation_host.h" | 11 #include "cc/animation/animation_host.h" |
11 #include "cc/input/scrollbar_animation_controller.h" | 12 #include "cc/input/scrollbar_animation_controller.h" |
12 #include "cc/layers/append_quads_data.h" | 13 #include "cc/layers/append_quads_data.h" |
13 #include "cc/layers/painted_scrollbar_layer.h" | 14 #include "cc/layers/painted_scrollbar_layer.h" |
14 #include "cc/layers/painted_scrollbar_layer_impl.h" | 15 #include "cc/layers/painted_scrollbar_layer_impl.h" |
15 #include "cc/layers/scrollbar_layer_interface.h" | 16 #include "cc/layers/scrollbar_layer_interface.h" |
16 #include "cc/layers/solid_color_scrollbar_layer.h" | 17 #include "cc/layers/solid_color_scrollbar_layer.h" |
17 #include "cc/layers/solid_color_scrollbar_layer_impl.h" | 18 #include "cc/layers/solid_color_scrollbar_layer_impl.h" |
18 #include "cc/quads/solid_color_draw_quad.h" | 19 #include "cc/quads/solid_color_draw_quad.h" |
(...skipping 1150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1169 TestScale(gfx::Rect(1240, 0, 15, 1333), 2.7754839f); | 1170 TestScale(gfx::Rect(1240, 0, 15, 1333), 2.7754839f); |
1170 TestScale(gfx::Rect(1240, 0, 15, 677), 2.46677136f); | 1171 TestScale(gfx::Rect(1240, 0, 15, 677), 2.46677136f); |
1171 | 1172 |
1172 // Horizontal Scrollbars. | 1173 // Horizontal Scrollbars. |
1173 TestScale(gfx::Rect(0, 1240, 1333, 15), 2.7754839f); | 1174 TestScale(gfx::Rect(0, 1240, 1333, 15), 2.7754839f); |
1174 TestScale(gfx::Rect(0, 1240, 677, 15), 2.46677136f); | 1175 TestScale(gfx::Rect(0, 1240, 677, 15), 2.46677136f); |
1175 } | 1176 } |
1176 | 1177 |
1177 } // namespace | 1178 } // namespace |
1178 } // namespace cc | 1179 } // namespace cc |
OLD | NEW |