chromeos: bluetooth: add BluetoothNodeClient
[chromium-blink-merge.git] / ash / wm / visibility_controller.h
blobdf8f82fa4c254128880517f18325079219f0c8bd
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_
7 #pragma once
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"
14 namespace ash {
15 namespace internal {
17 class VisibilityController : public aura::client::VisibilityClient {
18 public:
19 VisibilityController();
20 virtual ~VisibilityController();
22 // Overridden from aura::client::VisibilityClient:
23 virtual void UpdateLayerVisibility(aura::Window* window,
24 bool visible) OVERRIDE;
26 private:
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);
35 } // namespace ash
37 #endif // ASH_WM_VISIBILITY_CONTROLLER_H_