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

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: 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/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 c02dcbfc03e33f5f15c6248bc8854c9adf0c658c..2bbb820e84a689dd8f66c2f656354b7d90c9610d 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
@@ -24,6 +24,12 @@ class InkDropHostViewTestApi {
void SetInkDrop(std::unique_ptr<InkDrop> ink_drop);
InkDrop* ink_drop() { return host_view_->ink_drop(); }
+ // Wrapper for InkDropHostView::GetInkDropCenterBasedOnLastEvent().
+ gfx::Point GetInkDropCenterBasedOnLastEvent() const;
+
+ // Wrapper for InkDropHostView::AnimateInkDrop().
+ void AnimateInkDrop(InkDropState state, const ui::LocatedEvent* event);
+
private:
// The InkDropHostView to provide internal access to.
InkDropHostView* host_view_;
« no previous file with comments | « ui/views/animation/test/flood_fill_ink_drop_ripple_test_api.cc ('k') | ui/views/animation/test/ink_drop_host_view_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698