| 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 CCScrollbarAnimationControllerLinearFade_h | 5 #ifndef CC_SCROLLBAR_ANIMATION_CONTROLLER_LINEAR_FADE_H_ |
| 6 #define CCScrollbarAnimationControllerLinearFade_h | 6 #define CC_SCROLLBAR_ANIMATION_CONTROLLER_LINEAR_FADE_H_ |
| 7 | 7 |
| 8 #include "cc/cc_export.h" | 8 #include "cc/cc_export.h" |
| 9 #include "cc/scrollbar_animation_controller.h" | 9 #include "cc/scrollbar_animation_controller.h" |
| 10 | 10 |
| 11 namespace cc { | 11 namespace cc { |
| 12 | 12 |
| 13 class CC_EXPORT ScrollbarAnimationControllerLinearFade : public ScrollbarAnimati
onController { | 13 class CC_EXPORT ScrollbarAnimationControllerLinearFade : public ScrollbarAnimati
onController { |
| 14 public: | 14 public: |
| 15 static scoped_ptr<ScrollbarAnimationControllerLinearFade> create(LayerImpl*
scrollLayer, double fadeoutDelay, double fadeoutLength); | 15 static scoped_ptr<ScrollbarAnimationControllerLinearFade> create(LayerImpl*
scrollLayer, double fadeoutDelay, double fadeoutLength); |
| 16 | 16 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 double m_lastAwakenTime; | 31 double m_lastAwakenTime; |
| 32 bool m_pinchGestureInEffect; | 32 bool m_pinchGestureInEffect; |
| 33 | 33 |
| 34 double m_fadeoutDelay; | 34 double m_fadeoutDelay; |
| 35 double m_fadeoutLength; | 35 double m_fadeoutLength; |
| 36 }; | 36 }; |
| 37 | 37 |
| 38 } // namespace cc | 38 } // namespace cc |
| 39 | 39 |
| 40 #endif // CCScrollbarAnimationControllerLinearFade_h | 40 #endif // CC_SCROLLBAR_ANIMATION_CONTROLLER_LINEAR_FADE_H_ |
| OLD | NEW |