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

Unified Diff: ui/compositor/closure_animation_observer.h

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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/compositor/PRESUBMIT.py ('k') | ui/compositor/closure_animation_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/closure_animation_observer.h
diff --git a/ui/compositor/closure_animation_observer.h b/ui/compositor/closure_animation_observer.h
deleted file mode 100644
index 1fd1cdf4f255ef2fc98823b0db471ed68c72aa74..0000000000000000000000000000000000000000
--- a/ui/compositor/closure_animation_observer.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2014 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_COMPOSITOR_CLOSURE_ANIMATION_OBSERVER_H_
-#define UI_COMPOSITOR_CLOSURE_ANIMATION_OBSERVER_H_
-
-#include "base/callback.h"
-#include "base/macros.h"
-#include "ui/compositor/compositor_export.h"
-#include "ui/compositor/layer_animation_observer.h"
-
-namespace ui {
-
-// Runs a callback at the end of the animation. This observe also destroys
-// itself afterwards.
-class COMPOSITOR_EXPORT ClosureAnimationObserver
- : public ImplicitAnimationObserver {
- public:
- explicit ClosureAnimationObserver(const base::Closure& closure);
-
- private:
- ~ClosureAnimationObserver() override;
-
- // ImplicitAnimationObserver:
- void OnImplicitAnimationsCompleted() override;
-
- const base::Closure closure_;
-
- DISALLOW_COPY_AND_ASSIGN(ClosureAnimationObserver);
-};
-
-} // namespace ui
-
-#endif // UI_COMPOSITOR_CLOSURE_ANIMATION_OBSERVER_H_
« no previous file with comments | « ui/compositor/PRESUBMIT.py ('k') | ui/compositor/closure_animation_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698