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 CCScrollbarAnimationControllerLinearFade_h |
6 #define CCScrollbarAnimationControllerLinearFade_h | 6 #define CCScrollbarAnimationControllerLinearFade_h |
7 | 7 |
8 #include "CCScrollbarAnimationController.h" | 8 #include "cc/scrollbar_animation_controller.h" |
9 | 9 |
10 namespace cc { | 10 namespace cc { |
11 | 11 |
12 class CCScrollbarAnimationControllerLinearFade : public CCScrollbarAnimationCont
roller { | 12 class CCScrollbarAnimationControllerLinearFade : public CCScrollbarAnimationCont
roller { |
13 public: | 13 public: |
14 static scoped_ptr<CCScrollbarAnimationControllerLinearFade> create(CCLayerIm
pl* scrollLayer, double fadeoutDelay, double fadeoutLength); | 14 static scoped_ptr<CCScrollbarAnimationControllerLinearFade> create(CCLayerIm
pl* scrollLayer, double fadeoutDelay, double fadeoutLength); |
15 | 15 |
16 virtual ~CCScrollbarAnimationControllerLinearFade(); | 16 virtual ~CCScrollbarAnimationControllerLinearFade(); |
17 | 17 |
18 virtual bool animate(double monotonicTime) OVERRIDE; | 18 virtual bool animate(double monotonicTime) OVERRIDE; |
(...skipping 11 matching lines...) Expand all Loading... |
30 double m_lastAwakenTime; | 30 double m_lastAwakenTime; |
31 bool m_pinchGestureInEffect; | 31 bool m_pinchGestureInEffect; |
32 | 32 |
33 double m_fadeoutDelay; | 33 double m_fadeoutDelay; |
34 double m_fadeoutLength; | 34 double m_fadeoutLength; |
35 }; | 35 }; |
36 | 36 |
37 } // namespace cc | 37 } // namespace cc |
38 | 38 |
39 #endif // CCScrollbarAnimationControllerLinearFade_h | 39 #endif // CCScrollbarAnimationControllerLinearFade_h |
OLD | NEW |