#include "ui/wm/core/visibility_controller.h"
#include "ui/aura/window.h"
#include "ui/base/class_property.h"
#include "ui/compositor/layer.h"
#include "ui/wm/core/window_animations.h"
namespace wm {
namespace {
DEFINE_UI_CLASS_PROPERTY_KEY(…)
DEFINE_UI_CLASS_PROPERTY_KEY(…)
bool ShouldAnimateWindow(aura::Window* window) { … }
}
VisibilityController::VisibilityController() { … }
VisibilityController::~VisibilityController() { … }
bool VisibilityController::CallAnimateOnChildWindowVisibilityChanged(
aura::Window* window,
bool visible) { … }
void VisibilityController::UpdateLayerVisibility(aura::Window* window,
bool visible) { … }
SuspendChildWindowVisibilityAnimations::SuspendChildWindowVisibilityAnimations(
aura::Window* window)
: … { … }
SuspendChildWindowVisibilityAnimations::
~SuspendChildWindowVisibilityAnimations() { … }
void SetWindowVisibilityChangesAnimated(aura::Window* window) { … }
void SetChildWindowVisibilityChangesAnimated(aura::Window* window) { … }
}