Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(233)

Side by Side Diff: cc/animation/scrollbar_animation_controller_linear_fade.h

Issue 12965007: Fix cpplint errors in cc/(animation|input|layers|trees|test)/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/animation/layer_animation_value_observer.h ('k') | cc/animation/transform_operation.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_ANIMATION_SCROLLBAR_ANIMATION_CONTROLLER_LINEAR_FADE_H_ 5 #ifndef CC_ANIMATION_SCROLLBAR_ANIMATION_CONTROLLER_LINEAR_FADE_H_
6 #define CC_ANIMATION_SCROLLBAR_ANIMATION_CONTROLLER_LINEAR_FADE_H_ 6 #define CC_ANIMATION_SCROLLBAR_ANIMATION_CONTROLLER_LINEAR_FADE_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "cc/animation/scrollbar_animation_controller.h" 9 #include "cc/animation/scrollbar_animation_controller.h"
10 #include "cc/base/cc_export.h" 10 #include "cc/base/cc_export.h"
11 11
12 namespace cc { 12 namespace cc {
13 class LayerImpl; 13 class LayerImpl;
14 14
15 class CC_EXPORT ScrollbarAnimationControllerLinearFade : 15 class CC_EXPORT ScrollbarAnimationControllerLinearFade
16 public ScrollbarAnimationController { 16 : public ScrollbarAnimationController {
17 public: 17 public:
18 static scoped_ptr<ScrollbarAnimationControllerLinearFade> Create( 18 static scoped_ptr<ScrollbarAnimationControllerLinearFade> Create(
19 LayerImpl* scroll_layer, 19 LayerImpl* scroll_layer,
20 base::TimeDelta fadeout_delay, 20 base::TimeDelta fadeout_delay,
21 base::TimeDelta fadeout_length); 21 base::TimeDelta fadeout_length);
22 22
23 virtual ~ScrollbarAnimationControllerLinearFade(); 23 virtual ~ScrollbarAnimationControllerLinearFade();
24 24
25 // ScrollbarAnimationController overrides. 25 // ScrollbarAnimationController overrides.
26 virtual bool IsScrollGestureInProgress() const OVERRIDE; 26 virtual bool IsScrollGestureInProgress() const OVERRIDE;
(...skipping 18 matching lines...) Expand all
45 base::TimeTicks last_awaken_time_; 45 base::TimeTicks last_awaken_time_;
46 bool scroll_gesture_in_progress_; 46 bool scroll_gesture_in_progress_;
47 47
48 base::TimeDelta fadeout_delay_; 48 base::TimeDelta fadeout_delay_;
49 base::TimeDelta fadeout_length_; 49 base::TimeDelta fadeout_length_;
50 }; 50 };
51 51
52 } // namespace cc 52 } // namespace cc
53 53
54 #endif // CC_ANIMATION_SCROLLBAR_ANIMATION_CONTROLLER_LINEAR_FADE_H_ 54 #endif // CC_ANIMATION_SCROLLBAR_ANIMATION_CONTROLLER_LINEAR_FADE_H_
OLDNEW
« no previous file with comments | « cc/animation/layer_animation_value_observer.h ('k') | cc/animation/transform_operation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698