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

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

Issue 1682893002: Color the ink drop ripple and hover effects based on theming. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix unit tests Created 4 years, 10 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
Index: ui/views/animation/square_ink_drop_animation.h
diff --git a/ui/views/animation/square_ink_drop_animation.h b/ui/views/animation/square_ink_drop_animation.h
index 1adcaca50ce117cc59192eeca481bd64c567a231..93fb5da41525d99ceab5aaa7ff153cda749a058b 100644
--- a/ui/views/animation/square_ink_drop_animation.h
+++ b/ui/views/animation/square_ink_drop_animation.h
@@ -48,12 +48,16 @@ class SquareInkDropAnimationTestApi;
//
class VIEWS_EXPORT SquareInkDropAnimation : public InkDropAnimation {
public:
- SquareInkDropAnimation(const gfx::Size& large_size,
+ SquareInkDropAnimation(SkColor color,
+ const gfx::Size& large_size,
int large_corner_radius,
const gfx::Size& small_size,
int small_corner_radius);
~SquareInkDropAnimation() override;
+ // Returns the color used to draw this animation.
+ SkColor GetColor() const;
+
// InkDropAnimation:
void AbortAllAnimations() override;

Powered by Google App Engine
This is Rietveld 408576698