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

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

Issue 2094343005: Fix MD button hover shadow effect on odd-sized buttons. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « chrome/browser/ui/views/download/download_item_view_md.cc ('k') | ui/views/animation/ink_drop_highlight.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/animation/ink_drop_highlight.h
diff --git a/ui/views/animation/ink_drop_highlight.h b/ui/views/animation/ink_drop_highlight.h
index 0a18e6f64e9b114de7cca98d7b2dc99f4ae7b5c0..18a80b4a631e825f3fe28027e8cac1704207e11d 100644
--- a/ui/views/animation/ink_drop_highlight.h
+++ b/ui/views/animation/ink_drop_highlight.h
@@ -42,14 +42,14 @@ class VIEWS_EXPORT InkDropHighlight {
enum AnimationType { FADE_IN, FADE_OUT };
// Creates a highlight with a specified painter.
- InkDropHighlight(const gfx::Point& center_point,
+ InkDropHighlight(const gfx::PointF& center_point,
std::unique_ptr<BasePaintedLayerDelegate> layer_delegate);
// Creates a highlight that paints a partially transparent roundrect with
// color |color|.
InkDropHighlight(const gfx::Size& size,
int corner_radius,
- const gfx::Point& center_point,
+ const gfx::PointF& center_point,
SkColor color);
virtual ~InkDropHighlight();
« no previous file with comments | « chrome/browser/ui/views/download/download_item_view_md.cc ('k') | ui/views/animation/ink_drop_highlight.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698