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 "cc/trees/layer_tree_host.h" | 5 #include "cc/trees/layer_tree_host.h" |
6 | 6 |
7 #include "base/location.h" | 7 #include "base/location.h" |
| 8 #include "base/memory/ptr_util.h" |
8 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
9 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
10 #include "base/threading/thread_task_runner_handle.h" | 11 #include "base/threading/thread_task_runner_handle.h" |
11 #include "cc/animation/animation_host.h" | 12 #include "cc/animation/animation_host.h" |
12 #include "cc/input/main_thread_scrolling_reason.h" | 13 #include "cc/input/main_thread_scrolling_reason.h" |
13 #include "cc/input/scroll_elasticity_helper.h" | 14 #include "cc/input/scroll_elasticity_helper.h" |
14 #include "cc/layers/layer.h" | 15 #include "cc/layers/layer.h" |
15 #include "cc/layers/layer_impl.h" | 16 #include "cc/layers/layer_impl.h" |
16 #include "cc/layers/picture_layer.h" | 17 #include "cc/layers/picture_layer.h" |
17 #include "cc/scheduler/begin_frame_source.h" | 18 #include "cc/scheduler/begin_frame_source.h" |
(...skipping 2221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2239 | 2240 |
2240 const float initial_page_scale_ = 0.5f; | 2241 const float initial_page_scale_ = 0.5f; |
2241 const float page_scale_update_ = 0.2f; | 2242 const float page_scale_update_ = 0.2f; |
2242 }; | 2243 }; |
2243 | 2244 |
2244 // The reflected deltas are supported in threaded mode only. | 2245 // The reflected deltas are supported in threaded mode only. |
2245 MULTI_THREAD_TEST_F(LayerTreeHostScrollTestAppliesReflectedDeltas); | 2246 MULTI_THREAD_TEST_F(LayerTreeHostScrollTestAppliesReflectedDeltas); |
2246 | 2247 |
2247 } // namespace | 2248 } // namespace |
2248 } // namespace cc | 2249 } // namespace cc |
OLD | NEW |