#ifndef ASH_WM_WORKSPACE_WORKSPACE_EVENT_HANDLER_H_
#define ASH_WM_WORKSPACE_WORKSPACE_EVENT_HANDLER_H_
#include "ash/wm/workspace/multi_window_resize_controller.h"
#include "ui/events/event_handler.h"
namespace ash {
class WorkspaceEventHandlerTestHelper;
namespace wm {
class WindowState;
}
class WorkspaceEventHandler : public ui::EventHandler {
public:
WorkspaceEventHandler();
virtual ~WorkspaceEventHandler();
virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE;
virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
private:
friend class WorkspaceEventHandlerTestHelper;
void HandleVerticalResizeDoubleClick(wm::WindowState* window_state,
ui::MouseEvent* event);
MultiWindowResizeController multi_window_resize_controller_;
DISALLOW_COPY_AND_ASSIGN(WorkspaceEventHandler);
};
}
#endif