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

Unified Diff: ui/wm/public/animation_host.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/wm/public/activation_delegate.cc ('k') | ui/wm/public/animation_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/wm/public/animation_host.h
diff --git a/ui/wm/public/animation_host.h b/ui/wm/public/animation_host.h
deleted file mode 100644
index 71f9f4d72b6f35322b6f455a10eb09704c5eb4c4..0000000000000000000000000000000000000000
--- a/ui/wm/public/animation_host.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright 2013 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_WM_PUBLIC_ANIMATION_HOST_H_
-#define UI_WM_PUBLIC_ANIMATION_HOST_H_
-
-#include "base/compiler_specific.h"
-#include "ui/aura/aura_export.h"
-
-namespace gfx {
-class Vector2d;
-}
-
-namespace aura {
-class Window;
-namespace client {
-
-// Interface for top level window host of animation. Communicates additional
-// bounds required for animation as well as animation completion for deferring
-// window closes on hide.
-class AURA_EXPORT AnimationHost {
- public:
- // Ensure the host window is at least this large so that transitions have
- // sufficient space.
- // The |top_left_delta| parameter contains the offset to be subtracted from
- // the window bounds for the top left corner.
- // The |bottom_right_delta| parameter contains the offset to be added to the
- // window bounds for the bottom right.
- virtual void SetHostTransitionOffsets(
- const gfx::Vector2d& top_left_delta,
- const gfx::Vector2d& bottom_right_delta) = 0;
-
- // Called after the window has faded out on a hide.
- virtual void OnWindowHidingAnimationCompleted() = 0;
-
- protected:
- virtual ~AnimationHost() {}
-};
-
-AURA_EXPORT void SetAnimationHost(Window* window,
- AnimationHost* animation_host);
-AURA_EXPORT AnimationHost* GetAnimationHost(Window* window);
-
-} // namespace client
-} // namespace aura
-
-#endif // UI_WM_PUBLIC_ANIMATION_HOST_H_
« no previous file with comments | « ui/wm/public/activation_delegate.cc ('k') | ui/wm/public/animation_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698