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

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

Issue 1757993004: Added ink drop hover/ripple to menu hosting bookmark buttons. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed sky@ & varkha@ comments. Created 4 years, 9 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 9a9c8ed793d5da7d699a00aaff2226d5f7a8ca29..19bae013b571ec2255fc21fc7ceeb49019401c3b 100644
--- a/ui/views/animation/ink_drop_animation_controller_factory.cc
+++ b/ui/views/animation/ink_drop_animation_controller_factory.cc
@@ -28,6 +28,7 @@ class InkDropAnimationControllerStub
InkDropState GetTargetInkDropState() const override;
bool IsVisible() const override;
void AnimateToState(InkDropState state) override;
+ void SnapToActivated() override;
void SetHovered(bool is_hovered) override;
private:
@@ -48,6 +49,8 @@ bool InkDropAnimationControllerStub::IsVisible() const {
void InkDropAnimationControllerStub::AnimateToState(InkDropState state) {}
+void InkDropAnimationControllerStub::SnapToActivated() {}
+
void InkDropAnimationControllerStub::SetHovered(bool is_hovered) {}
} // namespace
« no previous file with comments | « ui/views/animation/ink_drop_animation_controller.h ('k') | ui/views/animation/ink_drop_animation_controller_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698