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

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

Issue 1915983009: Fixed material design ink drop location for the MD download shelf buttons. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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_hover.cc
diff --git a/ui/views/animation/ink_drop_hover.cc b/ui/views/animation/ink_drop_hover.cc
index 9bb7b02d8958015a3eedd6acc34b943d79d8d1ae..50962f9c4574f8024bfa7c43f3e2036dfc46b445 100644
--- a/ui/views/animation/ink_drop_hover.cc
+++ b/ui/views/animation/ink_drop_hover.cc
@@ -23,6 +23,11 @@ const float kHiddenOpacity = 0.0f;
} // namespace
+InkDropHover::InkDropHover(const gfx::Rect& bounds,
+ int corner_radius,
+ SkColor color)
+ : InkDropHover(bounds.size(), corner_radius, bounds.CenterPoint(), color) {}
+
InkDropHover::InkDropHover(const gfx::Size& size,
int corner_radius,
const gfx::Point& center_point,

Powered by Google App Engine
This is Rietveld 408576698