| 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 #ifndef CC_INPUT_SCROLLBAR_ANIMATION_CONTROLLER_H_ | 5 #ifndef CC_INPUT_SCROLLBAR_ANIMATION_CONTROLLER_H_ |
| 6 #define CC_INPUT_SCROLLBAR_ANIMATION_CONTROLLER_H_ | 6 #define CC_INPUT_SCROLLBAR_ANIMATION_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "base/cancelable_callback.h" | 8 #include "base/cancelable_callback.h" |
| 9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
| 10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
| 11 #include "cc/base/cc_export.h" | 11 #include "cc/cc_export.h" |
| 12 #include "cc/input/single_scrollbar_animation_controller_thinning.h" | 12 #include "cc/input/single_scrollbar_animation_controller_thinning.h" |
| 13 #include "cc/layers/layer_impl.h" | 13 #include "cc/layers/layer_impl.h" |
| 14 #include "cc/layers/scrollbar_layer_impl_base.h" | 14 #include "cc/layers/scrollbar_layer_impl_base.h" |
| 15 #include "ui/gfx/geometry/vector2d_f.h" | 15 #include "ui/gfx/geometry/vector2d_f.h" |
| 16 | 16 |
| 17 namespace cc { | 17 namespace cc { |
| 18 | 18 |
| 19 class CC_EXPORT ScrollbarAnimationControllerClient { | 19 class CC_EXPORT ScrollbarAnimationControllerClient { |
| 20 public: | 20 public: |
| 21 virtual void PostDelayedScrollbarAnimationTask(const base::Closure& task, | 21 virtual void PostDelayedScrollbarAnimationTask(const base::Closure& task, |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 vertical_controller_; | 160 vertical_controller_; |
| 161 std::unique_ptr<SingleScrollbarAnimationControllerThinning> | 161 std::unique_ptr<SingleScrollbarAnimationControllerThinning> |
| 162 horizontal_controller_; | 162 horizontal_controller_; |
| 163 | 163 |
| 164 base::WeakPtrFactory<ScrollbarAnimationController> weak_factory_; | 164 base::WeakPtrFactory<ScrollbarAnimationController> weak_factory_; |
| 165 }; | 165 }; |
| 166 | 166 |
| 167 } // namespace cc | 167 } // namespace cc |
| 168 | 168 |
| 169 #endif // CC_INPUT_SCROLLBAR_ANIMATION_CONTROLLER_H_ | 169 #endif // CC_INPUT_SCROLLBAR_ANIMATION_CONTROLLER_H_ |
| OLD | NEW |