Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Side by Side Diff: ash/mus/bridge/workspace_event_handler_mus.h

Issue 2285703003: Moves WorkspaceEventHandler to ash/common (Closed)
Patch Set: merge to tip of tree Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 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.
4
5 #ifndef ASH_MUS_BRIDGE_WORKSPACE_EVENT_HANDLER_MUS_H_
6 #define ASH_MUS_BRIDGE_WORKSPACE_EVENT_HANDLER_MUS_H_
7
8 #include "ash/common/wm/workspace/workspace_event_handler.h"
9 #include "base/macros.h"
10
11 namespace ui {
12 class Window;
13 }
14
15 namespace ash {
16 namespace mus {
17
18 class WorkspaceEventHandlerMus : public ash::WorkspaceEventHandler {
James Cook 2016/08/26 19:07:16 nit: no ash::
sky 2016/08/26 20:19:16 Done.
19 public:
20 WorkspaceEventHandlerMus(ui::Window* workspace_window);
21 ~WorkspaceEventHandlerMus() override;
22
23 // Returns the WorkspaceEventHandlerMus associated with |window|, or null
24 // if |window| is not the workspace window.
25 static WorkspaceEventHandlerMus* Get(ui::Window* window);
26
27 // Returns the window associated with the workspace.
28 ui::Window* workspace_window() { return workspace_window_; }
29
30 private:
31 ui::Window* workspace_window_;
32
33 DISALLOW_COPY_AND_ASSIGN(WorkspaceEventHandlerMus);
34 };
35
36 } // namespace mus
37 } // namespace ash
38
39 #endif // ASH_MUS_BRIDGE_WORKSPACE_EVENT_HANDLER_MUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698