blob: a000ea818422304b4500bb2906490d9d73bec2aa [file] [log] [blame]
// 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.
#ifndef ASH_PUBLIC_CPP_WINDOW_ANIMATION_TYPES_H_
#define ASH_PUBLIC_CPP_WINDOW_ANIMATION_TYPES_H_
#include "ui/wm/core/window_animations.h"
namespace ash {
// An extension of the window animations provided by CoreWm. These are
// Ash-specific only.
enum WindowVisibilityAnimationType {
// Window scale/rotates down to its launcher icon.
WINDOW_VISIBILITY_ANIMATION_TYPE_MINIMIZE =
::wm::WINDOW_VISIBILITY_ANIMATION_MAX,
// Fade in/out using brightness and grayscale web filters.
WINDOW_VISIBILITY_ANIMATION_TYPE_BRIGHTNESS_GRAYSCALE,
// Window slides down from above screen to show and, meanwhile, home launcher
// slides down off screen.
WINDOW_VISIBILITY_ANIMATION_TYPE_SLIDE_DOWN,
// Animate a window out of the closest side of the screen. Fade in if it
// re-appears.
WINDOW_VISIBILITY_ANIMATION_TYPE_FADE_IN_SLIDE_OUT,
// Show or hide the window at the end of animation.
WINDOW_VISIBILITY_ANIMATION_TYPE_STEP_END,
};
} // namespace ash
#endif // ASH_PUBLIC_CPP_WINDOW_ANIMATION_TYPES_H_