blob: a2a7558229e40889eefb77919392c8a196b48de2 [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 {
namespace wm {
// 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,
};
} // namespace wm
} // namespace ash
#endif // ASH_PUBLIC_CPP_WINDOW_ANIMATION_TYPES_H_