#ifndef ASH_WM_WORKSPACE_CONTROLLER_H_
#define ASH_WM_WORKSPACE_CONTROLLER_H_
#include "ash/ash_export.h"
#include "ash/wm/workspace/workspace_types.h"
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
namespace aura {
class Window;
}
namespace ash {
class ShelfLayoutManager;
class WorkspaceControllerTestHelper;
class WorkspaceEventHandler;
class WorkspaceLayoutManager;
class WorkspaceLayoutManagerDelegate;
class ASH_EXPORT WorkspaceController {
public:
explicit WorkspaceController(aura::Window* viewport);
virtual ~WorkspaceController();
WorkspaceWindowState GetWindowState() const;
void SetShelf(ShelfLayoutManager* shelf);
void DoInitialAnimation();
void SetMaximizeBackdropDelegate(
scoped_ptr<WorkspaceLayoutManagerDelegate> delegate);
private:
friend class WorkspaceControllerTestHelper;
aura::Window* viewport_;
ShelfLayoutManager* shelf_;
scoped_ptr<WorkspaceEventHandler> event_handler_;
WorkspaceLayoutManager* layout_manager_;
DISALLOW_COPY_AND_ASSIGN(WorkspaceController);
};
}
#endif