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

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

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: "Removed FloodFillInkDropAnimation ctor. 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/flood_fill_ink_drop_animation.h
diff --git a/ui/views/animation/flood_fill_ink_drop_animation.h b/ui/views/animation/flood_fill_ink_drop_animation.h
index 97a4cd08b2d2cf5cd150505938d3b79664987070..303f295f0001bfbb9c948a699c5198c3b28fb35e 100644
--- a/ui/views/animation/flood_fill_ink_drop_animation.h
+++ b/ui/views/animation/flood_fill_ink_drop_animation.h
@@ -48,7 +48,7 @@ class FloodFillInkDropAnimationTestApi;
//
class VIEWS_EXPORT FloodFillInkDropAnimation : public InkDropAnimation {
public:
- FloodFillInkDropAnimation(const gfx::Size& size,
+ FloodFillInkDropAnimation(const gfx::Rect& clip_bounds,
const gfx::Point& center_point,
SkColor color);
~FloodFillInkDropAnimation() override;
@@ -101,8 +101,8 @@ class VIEWS_EXPORT FloodFillInkDropAnimation : public InkDropAnimation {
// Returns the target Transform for when the ink drop is fully shown.
gfx::Transform GetMaxSizeTargetTransform() const;
- // The clip Size.
- const gfx::Size size_;
+ // The clip bounds.
+ const gfx::Rect clip_bounds_;
// The point where the Center of the ink drop's circle should be drawn.
gfx::Point center_point_;
« no previous file with comments | « chrome/browser/ui/views/download/download_item_view_md.cc ('k') | ui/views/animation/flood_fill_ink_drop_animation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698