| Index: ash/wm/workspace/workspace_event_handler_aura.h
|
| diff --git a/ash/wm/workspace/workspace_event_handler_aura.h b/ash/wm/workspace/workspace_event_handler_aura.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a8e084da9047f6ae40bdbac4802e4338b049d16b
|
| --- /dev/null
|
| +++ b/ash/wm/workspace/workspace_event_handler_aura.h
|
| @@ -0,0 +1,34 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef ASH_WM_WORKSPACE_WORKSPACE_EVENT_HANDLER_AURA_H_
|
| +#define ASH_WM_WORKSPACE_WORKSPACE_EVENT_HANDLER_AURA_H_
|
| +
|
| +#include "ash/common/wm/workspace/workspace_event_handler.h"
|
| +#include "base/macros.h"
|
| +#include "ui/events/event_handler.h"
|
| +
|
| +namespace ash {
|
| +
|
| +class WmWindow;
|
| +
|
| +class WorkspaceEventHandlerAura : public ui::EventHandler,
|
| + public WorkspaceEventHandler {
|
| + public:
|
| + explicit WorkspaceEventHandlerAura(WmWindow* workspace_window);
|
| + ~WorkspaceEventHandlerAura() override;
|
| +
|
| + // ui::EventHandler:
|
| + void OnMouseEvent(ui::MouseEvent* event) override;
|
| + void OnGestureEvent(ui::GestureEvent* event) override;
|
| +
|
| + private:
|
| + WmWindow* workspace_window_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(WorkspaceEventHandlerAura);
|
| +};
|
| +
|
| +} // namespace ash
|
| +
|
| +#endif // ASH_WM_WORKSPACE_WORKSPACE_EVENT_HANDLER_AURA_H_
|
|
|