OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef CC_INPUT_SINGLE_SCROLLBAR_ANIMATION_CONTROLLER_THINNING_H_ | 5 #ifndef CC_INPUT_SINGLE_SCROLLBAR_ANIMATION_CONTROLLER_THINNING_H_ |
6 #define CC_INPUT_SINGLE_SCROLLBAR_ANIMATION_CONTROLLER_THINNING_H_ | 6 #define CC_INPUT_SINGLE_SCROLLBAR_ANIMATION_CONTROLLER_THINNING_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/time/time.h" | 11 #include "base/time/time.h" |
12 #include "cc/base/cc_export.h" | 12 #include "cc/cc_export.h" |
13 #include "cc/input/scrollbar.h" | 13 #include "cc/input/scrollbar.h" |
14 #include "cc/layers/layer_impl.h" | 14 #include "cc/layers/layer_impl.h" |
15 #include "cc/layers/scrollbar_layer_impl_base.h" | 15 #include "cc/layers/scrollbar_layer_impl_base.h" |
16 #include "ui/gfx/geometry/vector2d_f.h" | 16 #include "ui/gfx/geometry/vector2d_f.h" |
17 | 17 |
18 namespace cc { | 18 namespace cc { |
19 | 19 |
20 class ScrollbarAnimationControllerClient; | 20 class ScrollbarAnimationControllerClient; |
21 | 21 |
22 // ScrollbarAnimationControllerThinning for one scrollbar | 22 // ScrollbarAnimationControllerThinning for one scrollbar |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 AnimationChange thickness_change_; | 86 AnimationChange thickness_change_; |
87 | 87 |
88 base::TimeDelta thinning_duration_; | 88 base::TimeDelta thinning_duration_; |
89 | 89 |
90 DISALLOW_COPY_AND_ASSIGN(SingleScrollbarAnimationControllerThinning); | 90 DISALLOW_COPY_AND_ASSIGN(SingleScrollbarAnimationControllerThinning); |
91 }; | 91 }; |
92 | 92 |
93 } // namespace cc | 93 } // namespace cc |
94 | 94 |
95 #endif // CC_INPUT_SINGLE_SCROLLBAR_ANIMATION_CONTROLLER_THINNING_H_ | 95 #endif // CC_INPUT_SINGLE_SCROLLBAR_ANIMATION_CONTROLLER_THINNING_H_ |
OLD | NEW |