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

Unified Diff: ui/views/animation/ink_drop_animation_controller_factory.cc

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/ink_drop_animation_controller_factory.cc
diff --git a/ui/views/animation/ink_drop_animation_controller_factory.cc b/ui/views/animation/ink_drop_animation_controller_factory.cc
index d20fe1f24f0c911b8a37846453cdd69a47990735..4efaecf5005dbf65573e117ccffbdf2f553fcf07 100644
--- a/ui/views/animation/ink_drop_animation_controller_factory.cc
+++ b/ui/views/animation/ink_drop_animation_controller_factory.cc
@@ -30,7 +30,6 @@ class InkDropAnimationControllerStub
void AnimateToState(InkDropState state) override;
void SetHovered(bool is_hovered) override;
bool IsHovered() const override;
- gfx::Size GetInkDropLargeSize() const override;
void SetInkDropSize(const gfx::Size& large_size,
int large_corner_radius,
const gfx::Size& small_size,
@@ -70,10 +69,6 @@ bool InkDropAnimationControllerStub::IsHovered() const {
return is_hovered_;
}
-gfx::Size InkDropAnimationControllerStub::GetInkDropLargeSize() const {
- return gfx::Size();
-}
-
void InkDropAnimationControllerStub::SetInkDropSize(const gfx::Size& large_size,
int large_corner_radius,
const gfx::Size& small_size,

Powered by Google App Engine
This is Rietveld 408576698