| 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 | 10 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 gfx::Point ConvertPointToScreen(const WmWindowMus* source, | 44 gfx::Point ConvertPointToScreen(const WmWindowMus* source, |
| 45 const gfx::Point& point) const; | 45 const gfx::Point& point) const; |
| 46 | 46 |
| 47 const display::Display& GetDisplay() const; | 47 const display::Display& GetDisplay() const; |
| 48 | 48 |
| 49 // Exposed as public so WindowManager can call it. | 49 // Exposed as public so WindowManager can call it. |
| 50 void MoveWindowsTo(WmWindow* dest); | 50 void MoveWindowsTo(WmWindow* dest); |
| 51 | 51 |
| 52 // WmRootWindowController: | 52 // WmRootWindowController: |
| 53 bool HasShelf() override; | 53 bool HasShelf() override; |
| 54 WmShell* GetShell() override; | |
| 55 WmShelf* GetShelf() override; | 54 WmShelf* GetShelf() override; |
| 56 WmWindow* GetWindow() override; | 55 WmWindow* GetWindow() override; |
| 57 | 56 |
| 58 private: | 57 private: |
| 59 friend class RootWindowController; | 58 friend class RootWindowController; |
| 60 | 59 |
| 61 // WmRootWindowController: | 60 // WmRootWindowController: |
| 62 bool ShouldDestroyWindowInCloseChildWindows(WmWindow* window) override; | 61 bool ShouldDestroyWindowInCloseChildWindows(WmWindow* window) override; |
| 63 | 62 |
| 64 WmShellMus* shell_; | 63 WmShellMus* shell_; |
| 65 RootWindowController* root_window_controller_; | 64 RootWindowController* root_window_controller_; |
| 66 | 65 |
| 67 DISALLOW_COPY_AND_ASSIGN(WmRootWindowControllerMus); | 66 DISALLOW_COPY_AND_ASSIGN(WmRootWindowControllerMus); |
| 68 }; | 67 }; |
| 69 | 68 |
| 70 } // namespace mus | 69 } // namespace mus |
| 71 } // namespace ash | 70 } // namespace ash |
| 72 | 71 |
| 73 #endif // ASH_MUS_BRIDGE_WM_ROOT_WINDOW_CONTROLLER_MUS_H_ | 72 #endif // ASH_MUS_BRIDGE_WM_ROOT_WINDOW_CONTROLLER_MUS_H_ |
| OLD | NEW |