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_MUS_BRIDGE_WM_ROOT_WINDOW_CONTROLLER_MUS_H_ | 5 #ifndef ASH_MUS_BRIDGE_WM_ROOT_WINDOW_CONTROLLER_MUS_H_ |
6 #define ASH_MUS_BRIDGE_WM_ROOT_WINDOW_CONTROLLER_MUS_H_ | 6 #define ASH_MUS_BRIDGE_WM_ROOT_WINDOW_CONTROLLER_MUS_H_ |
7 | 7 |
8 #include "ash/common/wm_root_window_controller.h" | 8 #include "ash/common/wm_root_window_controller.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 gfx::Point ConvertPointFromScreen(const WmWindowMus* target, | 49 gfx::Point ConvertPointFromScreen(const WmWindowMus* target, |
50 const gfx::Point& point) const; | 50 const gfx::Point& point) const; |
51 | 51 |
52 const display::Display& GetDisplay() const; | 52 const display::Display& GetDisplay() const; |
53 | 53 |
54 // WmRootWindowController: | 54 // WmRootWindowController: |
55 bool HasShelf() override; | 55 bool HasShelf() override; |
56 WmShell* GetShell() override; | 56 WmShell* GetShell() override; |
57 wm::WorkspaceWindowState GetWorkspaceWindowState() override; | 57 wm::WorkspaceWindowState GetWorkspaceWindowState() override; |
58 AlwaysOnTopController* GetAlwaysOnTopController() override; | 58 AlwaysOnTopController* GetAlwaysOnTopController() override; |
59 wm::WmShelf* GetShelf() override; | 59 WmShelf* GetShelf() override; |
60 WmWindow* GetWindow() override; | 60 WmWindow* GetWindow() override; |
61 void ConfigureWidgetInitParamsForContainer( | 61 void ConfigureWidgetInitParamsForContainer( |
62 views::Widget* widget, | 62 views::Widget* widget, |
63 int shell_container_id, | 63 int shell_container_id, |
64 views::Widget::InitParams* init_params) override; | 64 views::Widget::InitParams* init_params) override; |
65 WmWindow* FindEventTarget(const gfx::Point& location_in_screen) override; | 65 WmWindow* FindEventTarget(const gfx::Point& location_in_screen) override; |
66 void AddObserver(WmRootWindowControllerObserver* observer) override; | 66 void AddObserver(WmRootWindowControllerObserver* observer) override; |
67 void RemoveObserver(WmRootWindowControllerObserver* observer) override; | 67 void RemoveObserver(WmRootWindowControllerObserver* observer) override; |
68 | 68 |
69 private: | 69 private: |
70 WmShellMus* shell_; | 70 WmShellMus* shell_; |
71 RootWindowController* root_window_controller_; | 71 RootWindowController* root_window_controller_; |
72 base::ObserverList<WmRootWindowControllerObserver> observers_; | 72 base::ObserverList<WmRootWindowControllerObserver> observers_; |
73 | 73 |
74 DISALLOW_COPY_AND_ASSIGN(WmRootWindowControllerMus); | 74 DISALLOW_COPY_AND_ASSIGN(WmRootWindowControllerMus); |
75 }; | 75 }; |
76 | 76 |
77 } // namespace mus | 77 } // namespace mus |
78 } // namespace ash | 78 } // namespace ash |
79 | 79 |
80 #endif // ASH_MUS_BRIDGE_WM_ROOT_WINDOW_CONTROLLER_MUS_H_ | 80 #endif // ASH_MUS_BRIDGE_WM_ROOT_WINDOW_CONTROLLER_MUS_H_ |
OLD | NEW |