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

Unified Diff: ui/views/animation/ink_drop_animation_observer.cc

Issue 1896953003: Added a views::test::TestInkDropAnimationObserverHelper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added test_animation_observer.h file. 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/ink_drop_animation_observer.cc
diff --git a/ui/views/animation/ink_drop_animation_observer.cc b/ui/views/animation/ink_drop_animation_observer.cc
deleted file mode 100644
index c76ffb291b1370d7557b61a23db60f6a8dc5cc2e..0000000000000000000000000000000000000000
--- a/ui/views/animation/ink_drop_animation_observer.cc
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright 2015 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/ink_drop_animation_observer.h"
-
-#include <string>
-
-#include "base/logging.h"
-
-namespace views {
-
-std::string ToString(
- InkDropAnimationObserver::InkDropAnimationEndedReason reason) {
- switch (reason) {
- case InkDropAnimationObserver::SUCCESS:
- return std::string("SUCCESS");
- case InkDropAnimationObserver::PRE_EMPTED:
- return std::string("PRE_EMPTED");
- }
- NOTREACHED()
- << "Should never be reached but is necessary for some compilers.";
- return std::string();
-}
-
-} // namespace views

Powered by Google App Engine
This is Rietveld 408576698