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

Unified Diff: ui/views/animation/test/ink_drop_host_view_test_api.cc

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
« no previous file with comments | « ui/views/animation/test/ink_drop_host_view_test_api.h ('k') | ui/views/controls/button/custom_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/animation/test/ink_drop_host_view_test_api.cc
diff --git a/ui/views/animation/test/ink_drop_host_view_test_api.cc b/ui/views/animation/test/ink_drop_host_view_test_api.cc
index a97628bfab077d2eb02542bfc5ae14f5e9f5bb3d..957ec2091fd908aee7a4bbece3022c5a73a0430e 100644
--- a/ui/views/animation/test/ink_drop_host_view_test_api.cc
+++ b/ui/views/animation/test/ink_drop_host_view_test_api.cc
@@ -17,5 +17,14 @@ void InkDropHostViewTestApi::SetInkDrop(std::unique_ptr<InkDrop> ink_drop) {
host_view_->ink_drop_ = std::move(ink_drop);
}
+gfx::Point InkDropHostViewTestApi::GetInkDropCenterBasedOnLastEvent() const {
+ return host_view_->GetInkDropCenterBasedOnLastEvent();
+}
+
+void InkDropHostViewTestApi::AnimateInkDrop(InkDropState state,
+ const ui::LocatedEvent* event) {
+ host_view_->AnimateInkDrop(state, event);
+}
+
} // namespace test
} // namespace views
« no previous file with comments | « ui/views/animation/test/ink_drop_host_view_test_api.h ('k') | ui/views/controls/button/custom_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698