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

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

Issue 1897073002: Add MD Ink Drop Layers to InkDropHost only when a ripple/hover is active. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed InkDropHoverTests to use proper expectation comparisons. 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
« no previous file with comments | « ui/views/animation/test/test_ink_drop_hover_observer.h ('k') | ui/views/views.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/animation/test/test_ink_drop_hover_observer.cc
diff --git a/ui/views/animation/test/test_ink_drop_hover_observer.cc b/ui/views/animation/test/test_ink_drop_hover_observer.cc
new file mode 100644
index 0000000000000000000000000000000000000000..a3e4f772e7d8ba44e6a4fc7dabbb362e8f6974ef
--- /dev/null
+++ b/ui/views/animation/test/test_ink_drop_hover_observer.cc
@@ -0,0 +1,26 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ui/views/animation/test/test_ink_drop_hover_observer.h"
+
+#include "ui/views/animation/ink_drop_hover.h"
+
+namespace views {
+namespace test {
+
+TestInkDropHoverObserver::TestInkDropHoverObserver() {}
+
+void TestInkDropHoverObserver::AnimationStarted(
+ InkDropHover::AnimationType animation_type) {
+ ObserverHelper::OnAnimationStarted(animation_type);
+}
+
+void TestInkDropHoverObserver::AnimationEnded(
+ InkDropHover::AnimationType animation_type,
+ InkDropAnimationEndedReason reason) {
+ ObserverHelper::OnAnimationEnded(animation_type, reason);
+}
+
+} // namespace test
+} // namespace views
« no previous file with comments | « ui/views/animation/test/test_ink_drop_hover_observer.h ('k') | ui/views/views.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698