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

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

Issue 2866733002: Remove owning_id from EffectNode and replace it by an opaque stable_id (Closed)
Patch Set: none Created 3 years, 7 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
« no previous file with comments | « cc/blink/web_scrollbar_layer_impl.cc ('k') | cc/input/scrollbar_animation_controller.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_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"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 116
117 void StartAnimation(); 117 void StartAnimation();
118 void StopAnimation(); 118 void StopAnimation();
119 119
120 void Show(); 120 void Show();
121 121
122 void PostDelayedAnimation(AnimationChange animation_change); 122 void PostDelayedAnimation(AnimationChange animation_change);
123 123
124 bool Captured() const; 124 bool Captured() const;
125 125
126 void NotifyScrollbarLayersOfOpacityAnimation(float opacity);
126 void ApplyOpacityToScrollbars(float opacity); 127 void ApplyOpacityToScrollbars(float opacity);
127 128
128 ScrollbarAnimationControllerClient* client_; 129 ScrollbarAnimationControllerClient* client_;
129 130
130 base::TimeTicks last_awaken_time_; 131 base::TimeTicks last_awaken_time_;
131 132
132 base::TimeDelta fade_delay_; 133 base::TimeDelta fade_delay_;
133 134
134 base::TimeDelta fade_duration_; 135 base::TimeDelta fade_duration_;
135 136
(...skipping 17 matching lines...) Expand all
153 vertical_controller_; 154 vertical_controller_;
154 std::unique_ptr<SingleScrollbarAnimationControllerThinning> 155 std::unique_ptr<SingleScrollbarAnimationControllerThinning>
155 horizontal_controller_; 156 horizontal_controller_;
156 157
157 base::WeakPtrFactory<ScrollbarAnimationController> weak_factory_; 158 base::WeakPtrFactory<ScrollbarAnimationController> weak_factory_;
158 }; 159 };
159 160
160 } // namespace cc 161 } // namespace cc
161 162
162 #endif // CC_INPUT_SCROLLBAR_ANIMATION_CONTROLLER_H_ 163 #endif // CC_INPUT_SCROLLBAR_ANIMATION_CONTROLLER_H_
OLDNEW
« no previous file with comments | « cc/blink/web_scrollbar_layer_impl.cc ('k') | cc/input/scrollbar_animation_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698