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

Unified Diff: ui/views/animation/test/flood_fill_ink_drop_ripple_test_api.h

Issue 2042073002: Centered flood fill style ink drop ripples on mouse/touch points. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed LocatedEvent::AsLocatedIfLocatedEvent() as FromIfValid(). 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
Index: ui/views/animation/test/flood_fill_ink_drop_ripple_test_api.h
diff --git a/ui/views/animation/test/flood_fill_ink_drop_ripple_test_api.h b/ui/views/animation/test/flood_fill_ink_drop_ripple_test_api.h
index 568db56d97b444493c9449993ff5f7d568fb6a60..dc4ed9b5186b59f621601ee4d349863346f1b92d 100644
--- a/ui/views/animation/test/flood_fill_ink_drop_ripple_test_api.h
+++ b/ui/views/animation/test/flood_fill_ink_drop_ripple_test_api.h
@@ -34,6 +34,9 @@ class FloodFillInkDropRippleTestApi : public InkDropRippleTestApi {
// coordinate space.
gfx::Point GetDrawnCenterPoint() const;
+ // Wrapper for FloodFillInkDropRipple::MaxDistanceToCorners().
+ float MaxDistanceToCorners(const gfx::Point& point) const;
+
// InkDropRippleTestApi:
float GetCurrentOpacity() const override;
« no previous file with comments | « ui/views/animation/ink_drop_host_view_unittest.cc ('k') | ui/views/animation/test/flood_fill_ink_drop_ripple_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698