OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ASH_COMMON_WM_WM_ROOT_WINDOW_CONTROLLER_H_ | 5 #ifndef ASH_COMMON_WM_WM_ROOT_WINDOW_CONTROLLER_H_ |
6 #define ASH_COMMON_WM_WM_ROOT_WINDOW_CONTROLLER_H_ | 6 #define ASH_COMMON_WM_WM_ROOT_WINDOW_CONTROLLER_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "ash/common/wm/workspace/workspace_types.h" | 9 #include "ash/common/wm/workspace/workspace_types.h" |
10 #include "ui/views/widget/widget.h" | 10 #include "ui/views/widget/widget.h" |
11 | 11 |
12 namespace gfx { | 12 namespace gfx { |
13 class Point; | 13 class Point; |
14 } | 14 } |
15 | 15 |
16 namespace ash { | 16 namespace ash { |
17 | 17 |
18 class AlwaysOnTopController; | 18 class AlwaysOnTopController; |
| 19 class WmShelf; |
19 | 20 |
20 namespace wm { | 21 namespace wm { |
21 | 22 |
22 class WmGlobals; | 23 class WmGlobals; |
23 class WmRootWindowControllerObserver; | 24 class WmRootWindowControllerObserver; |
24 class WmShelf; | |
25 class WmWindow; | 25 class WmWindow; |
26 | 26 |
27 // Provides state associated with a root of a window hierarchy. | 27 // Provides state associated with a root of a window hierarchy. |
28 class ASH_EXPORT WmRootWindowController { | 28 class ASH_EXPORT WmRootWindowController { |
29 public: | 29 public: |
30 virtual ~WmRootWindowController() {} | 30 virtual ~WmRootWindowController() {} |
31 | 31 |
32 virtual bool HasShelf() = 0; | 32 virtual bool HasShelf() = 0; |
33 | 33 |
34 virtual WmGlobals* GetGlobals() = 0; | 34 virtual WmGlobals* GetGlobals() = 0; |
(...skipping 22 matching lines...) Expand all Loading... |
57 virtual WmWindow* FindEventTarget(const gfx::Point& location_in_screen) = 0; | 57 virtual WmWindow* FindEventTarget(const gfx::Point& location_in_screen) = 0; |
58 | 58 |
59 virtual void AddObserver(WmRootWindowControllerObserver* observer) = 0; | 59 virtual void AddObserver(WmRootWindowControllerObserver* observer) = 0; |
60 virtual void RemoveObserver(WmRootWindowControllerObserver* observer) = 0; | 60 virtual void RemoveObserver(WmRootWindowControllerObserver* observer) = 0; |
61 }; | 61 }; |
62 | 62 |
63 } // namespace wm | 63 } // namespace wm |
64 } // namespace ash | 64 } // namespace ash |
65 | 65 |
66 #endif // ASH_COMMON_WM_WM_ROOT_WINDOW_CONTROLLER_H_ | 66 #endif // ASH_COMMON_WM_WM_ROOT_WINDOW_CONTROLLER_H_ |
OLD | NEW |