#ifndef ASH_WM_ALWAYS_ON_TOP_CONTROLLER_H_
#define ASH_WM_ALWAYS_ON_TOP_CONTROLLER_H_
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "ui/aura/window_observer.h"
namespace aura {
class Window;
}
namespace ash {
class AlwaysOnTopController : public aura::WindowObserver {
public:
AlwaysOnTopController();
virtual ~AlwaysOnTopController();
void SetAlwaysOnTopContainer(aura::Window* always_on_top_container);
aura::Window* GetContainer(aura::Window* window) const;
private:
virtual void OnWindowAdded(aura::Window* child) OVERRIDE;
virtual void OnWillRemoveWindow(aura::Window* child) OVERRIDE;
virtual void OnWindowPropertyChanged(aura::Window* window,
const void* key,
intptr_t old) OVERRIDE;
virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE;
aura::Window* always_on_top_container_;
DISALLOW_COPY_AND_ASSIGN(AlwaysOnTopController);
};
}
#endif