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

Unified Diff: ui/views/animation/flood_fill_ink_drop_ripple.h

Issue 2615613003: Fix double ripple on activated flood fill ripple (Closed)
Patch Set: Addressed nits Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/views/animation/flood_fill_ink_drop_ripple.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/animation/flood_fill_ink_drop_ripple.h
diff --git a/ui/views/animation/flood_fill_ink_drop_ripple.h b/ui/views/animation/flood_fill_ink_drop_ripple.h
index 643ff41f51edc9755d3c32c232e9ec0c0a8af267..ee6818f72860759abf14e3c55ecdb0397a8dba8b 100644
--- a/ui/views/animation/flood_fill_ink_drop_ripple.h
+++ b/ui/views/animation/flood_fill_ink_drop_ripple.h
@@ -91,6 +91,12 @@ class VIEWS_EXPORT FloodFillInkDropRipple : public InkDropRipple {
gfx::Tween::Type tween,
ui::LayerAnimationObserver* observer);
+ // Creates a pause animation for transform property.
+ void PauseTransformAnimation(
+ base::TimeDelta duration,
+ ui::LayerAnimator::PreemptionStrategy preemption_strategy,
+ ui::LayerAnimationObserver* observer);
+
// Sets the opacity of the ink drop. Note that this does not perform any
// animation.
void SetOpacity(float opacity);
@@ -106,6 +112,12 @@ class VIEWS_EXPORT FloodFillInkDropRipple : public InkDropRipple {
gfx::Tween::Type tween,
ui::LayerAnimationObserver* observer);
+ // Creates a pause animation for opacity property.
+ void PauseOpacityAnimation(
+ base::TimeDelta duration,
+ ui::LayerAnimator::PreemptionStrategy preemption_strategy,
+ ui::LayerAnimationObserver* observer);
+
// Returns the Transform to be applied to the |painted_layer_| for the given
// |target_radius|.
gfx::Transform CalculateTransform(float target_radius) const;
« no previous file with comments | « no previous file | ui/views/animation/flood_fill_ink_drop_ripple.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698