chromium/ui/wm/core/visibility_controller.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {

// Property set on all windows whose child windows' visibility changes are
// animated.
DEFINE_UI_CLASS_PROPERTY_KEY()

// A window with this property set will animate upon its visibility changes.
DEFINE_UI_CLASS_PROPERTY_KEY()

bool ShouldAnimateWindow(aura::Window* window) {}

}  // namespace

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) {}

}  // namespace wm