| 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/thread_task_runner_handle.h" | 9 #include "base/threading/thread_task_runner_handle.h" |
| 10 #include "cc/input/scrollbar_animation_controller.h" | 10 #include "cc/input/scrollbar_animation_controller.h" |
| 11 #include "cc/layers/append_quads_data.h" | 11 #include "cc/layers/append_quads_data.h" |
| 12 #include "cc/layers/painted_scrollbar_layer.h" | 12 #include "cc/layers/painted_scrollbar_layer.h" |
| 13 #include "cc/layers/painted_scrollbar_layer_impl.h" | 13 #include "cc/layers/painted_scrollbar_layer_impl.h" |
| 14 #include "cc/layers/scrollbar_layer_interface.h" | 14 #include "cc/layers/scrollbar_layer_interface.h" |
| 15 #include "cc/layers/solid_color_scrollbar_layer.h" | 15 #include "cc/layers/solid_color_scrollbar_layer.h" |
| 16 #include "cc/layers/solid_color_scrollbar_layer_impl.h" | 16 #include "cc/layers/solid_color_scrollbar_layer_impl.h" |
| 17 #include "cc/quads/solid_color_draw_quad.h" | 17 #include "cc/quads/solid_color_draw_quad.h" |
| 18 #include "cc/test/fake_impl_task_runner_provider.h" | 18 #include "cc/test/fake_impl_task_runner_provider.h" |
| 19 #include "cc/test/fake_layer_tree_host.h" | 19 #include "cc/test/fake_layer_tree_host.h" |
| (...skipping 999 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1019 TestScale(gfx::Rect(1240, 0, 15, 1333), 2.7754839f); | 1019 TestScale(gfx::Rect(1240, 0, 15, 1333), 2.7754839f); |
| 1020 TestScale(gfx::Rect(1240, 0, 15, 677), 2.46677136f); | 1020 TestScale(gfx::Rect(1240, 0, 15, 677), 2.46677136f); |
| 1021 | 1021 |
| 1022 // Horizontal Scrollbars. | 1022 // Horizontal Scrollbars. |
| 1023 TestScale(gfx::Rect(0, 1240, 1333, 15), 2.7754839f); | 1023 TestScale(gfx::Rect(0, 1240, 1333, 15), 2.7754839f); |
| 1024 TestScale(gfx::Rect(0, 1240, 677, 15), 2.46677136f); | 1024 TestScale(gfx::Rect(0, 1240, 677, 15), 2.46677136f); |
| 1025 } | 1025 } |
| 1026 | 1026 |
| 1027 } // namespace | 1027 } // namespace |
| 1028 } // namespace cc | 1028 } // namespace cc |
| OLD | NEW |