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

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

Issue 1937103003: Rename of InkDropAnimation classes to InkDropRipple. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed test_ink_drop_animation_observer.h from views.gyp and doc update. 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
Index: ui/views/animation/test/test_ink_drop_animation_observer.cc
diff --git a/ui/views/animation/test/test_ink_drop_animation_observer.cc b/ui/views/animation/test/test_ink_drop_animation_observer.cc
deleted file mode 100644
index 8b35faab2ae57713e631db0861a30e7ed7146638..0000000000000000000000000000000000000000
--- a/ui/views/animation/test/test_ink_drop_animation_observer.cc
+++ /dev/null
@@ -1,38 +0,0 @@
-// 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_animation_observer.h"
-
-#include "ui/views/animation/ink_drop_animation.h"
-
-namespace views {
-namespace test {
-
-TestInkDropAnimationObserver::TestInkDropAnimationObserver()
- : target_state_at_last_animation_started_(InkDropState::HIDDEN),
- target_state_at_last_animation_ended_(InkDropState::HIDDEN) {}
-
-TestInkDropAnimationObserver::~TestInkDropAnimationObserver() {}
-
-void TestInkDropAnimationObserver::AnimationStarted(
- InkDropState ink_drop_state) {
- ObserverHelper::OnAnimationStarted(ink_drop_state);
- if (ink_drop_animation_) {
- target_state_at_last_animation_started_ =
- ink_drop_animation_->target_ink_drop_state();
- }
-}
-
-void TestInkDropAnimationObserver::AnimationEnded(
- InkDropState ink_drop_state,
- InkDropAnimationEndedReason reason) {
- ObserverHelper::OnAnimationEnded(ink_drop_state, reason);
- if (ink_drop_animation_) {
- target_state_at_last_animation_ended_ =
- ink_drop_animation_->target_ink_drop_state();
- }
-}
-
-} // namespace test
-} // namespace views

Powered by Google App Engine
This is Rietveld 408576698