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

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

Issue 2250783002: Allow InkDropRipple to co-exist with highlight (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove EmptyInkDropRipple Created 4 years, 3 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 | « ui/views/animation/square_ink_drop_ripple.h ('k') | ui/views/animation/test/test_ink_drop_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/animation/square_ink_drop_ripple.cc
diff --git a/ui/views/animation/square_ink_drop_ripple.cc b/ui/views/animation/square_ink_drop_ripple.cc
index a01bbfd12bb2ce86460622cbb8d31fadb925e8d9..49fd5512e24f73f23d4c3f065aa0a3b856a8920b 100644
--- a/ui/views/animation/square_ink_drop_ripple.cc
+++ b/ui/views/animation/square_ink_drop_ripple.cc
@@ -214,8 +214,8 @@ ui::Layer* SquareInkDropRipple::GetRootLayer() {
return &root_layer_;
}
-bool SquareInkDropRipple::IsVisible() const {
- return root_layer_.visible();
+bool SquareInkDropRipple::OverridesHighlight() const {
+ return true;
}
float SquareInkDropRipple::GetCurrentOpacity() const {
« no previous file with comments | « ui/views/animation/square_ink_drop_ripple.h ('k') | ui/views/animation/test/test_ink_drop_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698