| 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 #include "ash/mus/bridge/wm_root_window_controller_mus.h" | 5 #include "ash/mus/bridge/wm_root_window_controller_mus.h" |
| 6 | 6 |
| 7 #include "ash/common/wm/wm_root_window_controller_observer.h" | 7 #include "ash/common/wm/wm_root_window_controller_observer.h" |
| 8 #include "ash/mus/bridge/wm_globals_mus.h" | 8 #include "ash/mus/bridge/wm_globals_mus.h" |
| 9 #include "ash/mus/bridge/wm_shelf_mus.h" | 9 #include "ash/mus/bridge/wm_shelf_mus.h" |
| 10 #include "ash/mus/bridge/wm_window_mus.h" | 10 #include "ash/mus/bridge/wm_window_mus.h" |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 | 89 |
| 90 wm::WorkspaceWindowState WmRootWindowControllerMus::GetWorkspaceWindowState() { | 90 wm::WorkspaceWindowState WmRootWindowControllerMus::GetWorkspaceWindowState() { |
| 91 NOTIMPLEMENTED(); | 91 NOTIMPLEMENTED(); |
| 92 return wm::WORKSPACE_WINDOW_STATE_DEFAULT; | 92 return wm::WORKSPACE_WINDOW_STATE_DEFAULT; |
| 93 } | 93 } |
| 94 | 94 |
| 95 AlwaysOnTopController* WmRootWindowControllerMus::GetAlwaysOnTopController() { | 95 AlwaysOnTopController* WmRootWindowControllerMus::GetAlwaysOnTopController() { |
| 96 return root_window_controller_->always_on_top_controller(); | 96 return root_window_controller_->always_on_top_controller(); |
| 97 } | 97 } |
| 98 | 98 |
| 99 wm::WmShelf* WmRootWindowControllerMus::GetShelf() { | 99 WmShelf* WmRootWindowControllerMus::GetShelf() { |
| 100 return root_window_controller_->wm_shelf(); | 100 return root_window_controller_->wm_shelf(); |
| 101 } | 101 } |
| 102 | 102 |
| 103 wm::WmWindow* WmRootWindowControllerMus::GetWindow() { | 103 wm::WmWindow* WmRootWindowControllerMus::GetWindow() { |
| 104 return WmWindowMus::Get(root_window_controller_->root()); | 104 return WmWindowMus::Get(root_window_controller_->root()); |
| 105 } | 105 } |
| 106 | 106 |
| 107 void WmRootWindowControllerMus::ConfigureWidgetInitParamsForContainer( | 107 void WmRootWindowControllerMus::ConfigureWidgetInitParamsForContainer( |
| 108 views::Widget* widget, | 108 views::Widget* widget, |
| 109 int shell_container_id, | 109 int shell_container_id, |
| (...skipping 22 matching lines...) Expand all Loading... |
| 132 observers_.AddObserver(observer); | 132 observers_.AddObserver(observer); |
| 133 } | 133 } |
| 134 | 134 |
| 135 void WmRootWindowControllerMus::RemoveObserver( | 135 void WmRootWindowControllerMus::RemoveObserver( |
| 136 wm::WmRootWindowControllerObserver* observer) { | 136 wm::WmRootWindowControllerObserver* observer) { |
| 137 observers_.RemoveObserver(observer); | 137 observers_.RemoveObserver(observer); |
| 138 } | 138 } |
| 139 | 139 |
| 140 } // namespace mus | 140 } // namespace mus |
| 141 } // namespace ash | 141 } // namespace ash |
| OLD | NEW |