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

Side by Side Diff: cc/input/scrollbar_animation_controller_thinning.h

Issue 2503283002: cc: Cleanup class/struct forward declarations (Closed)
Patch Set: Add missing fwd class decl in blimp_embedder_compositor.h Created 4 years, 1 month 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
« no previous file with comments | « cc/input/scrollbar_animation_controller_linear_fade.h ('k') | cc/ipc/cc_param_traits.h » ('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 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_SCROLLBAR_ANIMATION_CONTROLLER_THINNING_H_ 5 #ifndef CC_INPUT_SCROLLBAR_ANIMATION_CONTROLLER_THINNING_H_
6 #define CC_INPUT_SCROLLBAR_ANIMATION_CONTROLLER_THINNING_H_ 6 #define CC_INPUT_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 "cc/base/cc_export.h" 11 #include "cc/base/cc_export.h"
12 #include "cc/input/scrollbar_animation_controller.h" 12 #include "cc/input/scrollbar_animation_controller.h"
13 13
14 namespace cc { 14 namespace cc {
15 class LayerImpl;
16 15
17 // Scrollbar animation that partially fades and thins after an idle delay, 16 // Scrollbar animation that partially fades and thins after an idle delay,
18 // and reacts to mouse movements. 17 // and reacts to mouse movements.
19 class CC_EXPORT ScrollbarAnimationControllerThinning 18 class CC_EXPORT ScrollbarAnimationControllerThinning
20 : public ScrollbarAnimationController { 19 : public ScrollbarAnimationController {
21 public: 20 public:
22 static std::unique_ptr<ScrollbarAnimationControllerThinning> Create( 21 static std::unique_ptr<ScrollbarAnimationControllerThinning> Create(
23 int scroll_layer_id, 22 int scroll_layer_id,
24 ScrollbarAnimationControllerClient* client, 23 ScrollbarAnimationControllerClient* client,
25 base::TimeDelta delay_before_starting, 24 base::TimeDelta delay_before_starting,
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 base::TimeDelta thinning_duration_; 83 base::TimeDelta thinning_duration_;
85 84
86 AnimatingProperty current_animating_property_; 85 AnimatingProperty current_animating_property_;
87 86
88 DISALLOW_COPY_AND_ASSIGN(ScrollbarAnimationControllerThinning); 87 DISALLOW_COPY_AND_ASSIGN(ScrollbarAnimationControllerThinning);
89 }; 88 };
90 89
91 } // namespace cc 90 } // namespace cc
92 91
93 #endif // CC_INPUT_SCROLLBAR_ANIMATION_CONTROLLER_THINNING_H_ 92 #endif // CC_INPUT_SCROLLBAR_ANIMATION_CONTROLLER_THINNING_H_
OLDNEW
« no previous file with comments | « cc/input/scrollbar_animation_controller_linear_fade.h ('k') | cc/ipc/cc_param_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698