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

Unified Diff: ui/views/animation/test/ink_drop_host_view_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: Polished for review. 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/ink_drop_host_view_test_api.h
diff --git a/ui/views/animation/test/ink_drop_host_view_test_api.h b/ui/views/animation/test/ink_drop_host_view_test_api.h
index 07df159bafb0d63eb9fb1dddd5b38eb65042deb1..73da44c177cbbe1452d9487aa5861c11d0080da8 100644
--- a/ui/views/animation/test/ink_drop_host_view_test_api.h
+++ b/ui/views/animation/test/ink_drop_host_view_test_api.h
@@ -23,6 +23,12 @@ class InkDropHostViewTestApi {
void SetInkDrop(std::unique_ptr<InkDrop> ink_drop);
+ // Wrapper for InkDropHostView::GetInkDropCenterBasedOnLastEvent().
+ gfx::Point GetInkDropCenterBasedOnLastEvent() const;
+
+ // Wrapper for InkDropHostView::AnimateInkDrop().
+ void AnimateInkDrop(InkDropState state, const ui::Event* event);
+
private:
// The InkDropHostView to provide internal access to.
InkDropHostView* host_view_;

Powered by Google App Engine
This is Rietveld 408576698