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

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

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/ink_drop_animation_observer.h
diff --git a/ui/views/animation/ink_drop_animation_observer.h b/ui/views/animation/ink_drop_animation_observer.h
deleted file mode 100644
index 831a6be06b3b6065eb4856ef342d3569a6daa905..0000000000000000000000000000000000000000
--- a/ui/views/animation/ink_drop_animation_observer.h
+++ /dev/null
@@ -1,41 +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.
-
-#ifndef UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_OBSERVER_H_
-#define UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_OBSERVER_H_
-
-#include <string>
-
-#include "base/macros.h"
-#include "ui/views/animation/ink_drop_animation_ended_reason.h"
-#include "ui/views/animation/ink_drop_state.h"
-#include "ui/views/views_export.h"
-
-namespace views {
-
-// Observer to attach to an InkDropAnimation.
-class VIEWS_EXPORT InkDropAnimationObserver {
- public:
- // An animation for the given |ink_drop_state| has started.
- virtual void AnimationStarted(InkDropState ink_drop_state) = 0;
-
- // Notifies the observer that an animation for the given |ink_drop_state| has
- // finished and the reason for completion is given by |reason|. If |reason| is
- // SUCCESS then the animation has progressed to its final frame however if
- // |reason| is |PRE_EMPTED| then the animation was stopped before its final
- // frame.
- virtual void AnimationEnded(InkDropState ink_drop_state,
- InkDropAnimationEndedReason reason) = 0;
-
- protected:
- InkDropAnimationObserver() = default;
- virtual ~InkDropAnimationObserver() = default;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(InkDropAnimationObserver);
-};
-
-} // namespace views
-
-#endif // UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_OBSERVER_H_
« no previous file with comments | « ui/views/animation/ink_drop_animation_controller_impl_unittest.cc ('k') | ui/views/animation/ink_drop_animation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698