1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ASH_WM_VISIBILITY_CONTROLLER_H_
6 #define ASH_WM_VISIBILITY_CONTROLLER_H_
9 #include "ash/ash_export.h"
10 #include "base/compiler_specific.h"
11 #include "base/logging.h"
12 #include "ui/aura/client/visibility_client.h"
17 class VisibilityController
: public aura::client::VisibilityClient
{
19 VisibilityController();
20 virtual ~VisibilityController();
22 // Overridden from aura::client::VisibilityClient:
23 virtual void UpdateLayerVisibility(aura::Window
* window
,
24 bool visible
) OVERRIDE
;
27 DISALLOW_COPY_AND_ASSIGN(VisibilityController
);
30 } // namespace internal
32 // Tells |window| to animate visibility changes to its children.
33 void ASH_EXPORT
SetChildWindowVisibilityChangesAnimated(aura::Window
* window
);
37 #endif // ASH_WM_VISIBILITY_CONTROLLER_H_