| 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_shell_mus.h" | 5 #include "ash/mus/bridge/wm_shell_mus.h" |
| 6 | 6 |
| 7 #include "ash/common/default_accessibility_delegate.h" | 7 #include "ash/common/default_accessibility_delegate.h" |
| 8 #include "ash/common/session/session_state_delegate.h" | 8 #include "ash/common/session/session_state_delegate.h" |
| 9 #include "ash/common/shell_observer.h" | 9 #include "ash/common/shell_observer.h" |
| 10 #include "ash/common/shell_window_ids.h" | 10 #include "ash/common/shell_window_ids.h" |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 NOTIMPLEMENTED(); | 195 NOTIMPLEMENTED(); |
| 196 } | 196 } |
| 197 | 197 |
| 198 std::vector<WmWindow*> WmShellMus::GetAllRootWindows() { | 198 std::vector<WmWindow*> WmShellMus::GetAllRootWindows() { |
| 199 std::vector<WmWindow*> wm_windows(root_window_controllers_.size()); | 199 std::vector<WmWindow*> wm_windows(root_window_controllers_.size()); |
| 200 for (size_t i = 0; i < root_window_controllers_.size(); ++i) | 200 for (size_t i = 0; i < root_window_controllers_.size(); ++i) |
| 201 wm_windows[i] = root_window_controllers_[i]->GetWindow(); | 201 wm_windows[i] = root_window_controllers_[i]->GetWindow(); |
| 202 return wm_windows; | 202 return wm_windows; |
| 203 } | 203 } |
| 204 | 204 |
| 205 void WmShellMus::RecordUserMetricsAction(wm::WmUserMetricsAction action) { | 205 void WmShellMus::RecordUserMetricsAction(UserMetricsAction action) { |
| 206 NOTIMPLEMENTED(); | 206 NOTIMPLEMENTED(); |
| 207 } | 207 } |
| 208 | 208 |
| 209 std::unique_ptr<WindowResizer> WmShellMus::CreateDragWindowResizer( | 209 std::unique_ptr<WindowResizer> WmShellMus::CreateDragWindowResizer( |
| 210 std::unique_ptr<WindowResizer> next_window_resizer, | 210 std::unique_ptr<WindowResizer> next_window_resizer, |
| 211 wm::WindowState* window_state) { | 211 wm::WindowState* window_state) { |
| 212 return base::WrapUnique( | 212 return base::WrapUnique( |
| 213 new DragWindowResizer(std::move(next_window_resizer), window_state)); | 213 new DragWindowResizer(std::move(next_window_resizer), window_state)); |
| 214 } | 214 } |
| 215 | 215 |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 OnWindowActivated(gained_active, lost_active)); | 291 OnWindowActivated(gained_active, lost_active)); |
| 292 } | 292 } |
| 293 | 293 |
| 294 void WmShellMus::OnWillDestroyClient(::mus::WindowTreeClient* client) { | 294 void WmShellMus::OnWillDestroyClient(::mus::WindowTreeClient* client) { |
| 295 DCHECK_EQ(client, client_); | 295 DCHECK_EQ(client, client_); |
| 296 RemoveClientObserver(); | 296 RemoveClientObserver(); |
| 297 } | 297 } |
| 298 | 298 |
| 299 } // namespace mus | 299 } // namespace mus |
| 300 } // namespace ash | 300 } // namespace ash |
| OLD | NEW |