| 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 <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "ash/accelerators/accelerator_controller_delegate_aura.h" | 9 #include "ash/accelerators/accelerator_controller_delegate_aura.h" |
| 10 #include "ash/aura/key_event_watcher_aura.h" | 10 #include "ash/aura/key_event_watcher_aura.h" |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 NOTIMPLEMENTED(); | 208 NOTIMPLEMENTED(); |
| 209 return false; | 209 return false; |
| 210 } | 210 } |
| 211 | 211 |
| 212 void WmShellMus::SetDisplayWorkAreaInsets(WmWindow* window, | 212 void WmShellMus::SetDisplayWorkAreaInsets(WmWindow* window, |
| 213 const gfx::Insets& insets) { | 213 const gfx::Insets& insets) { |
| 214 window_manager_->screen()->SetWorkAreaInsets(window->aura_window(), insets); | 214 window_manager_->screen()->SetWorkAreaInsets(window->aura_window(), insets); |
| 215 } | 215 } |
| 216 | 216 |
| 217 void WmShellMus::LockCursor() { | 217 void WmShellMus::LockCursor() { |
| 218 // TODO: http::/crbug.com/637853 | 218 // TODO: http://crbug.com/637853 |
| 219 NOTIMPLEMENTED(); | 219 NOTIMPLEMENTED(); |
| 220 } | 220 } |
| 221 | 221 |
| 222 void WmShellMus::UnlockCursor() { | 222 void WmShellMus::UnlockCursor() { |
| 223 // TODO: http::/crbug.com/637853 | 223 // TODO: http://crbug.com/637853 |
| 224 NOTIMPLEMENTED(); | 224 NOTIMPLEMENTED(); |
| 225 } | 225 } |
| 226 | 226 |
| 227 bool WmShellMus::IsMouseEventsEnabled() { | 227 bool WmShellMus::IsMouseEventsEnabled() { |
| 228 // TODO: http::/crbug.com/637853 | 228 // TODO: http://crbug.com/637853 |
| 229 NOTIMPLEMENTED(); | 229 NOTIMPLEMENTED(); |
| 230 return true; | 230 return true; |
| 231 } | 231 } |
| 232 | 232 |
| 233 std::vector<WmWindow*> WmShellMus::GetAllRootWindows() { | 233 std::vector<WmWindow*> WmShellMus::GetAllRootWindows() { |
| 234 std::vector<WmWindow*> root_windows; | 234 std::vector<WmWindow*> root_windows; |
| 235 for (RootWindowController* root_window_controller : | 235 for (RootWindowController* root_window_controller : |
| 236 RootWindowController::root_window_controllers()) { | 236 RootWindowController::root_window_controllers()) { |
| 237 root_windows.push_back(root_window_controller->GetWindow()); | 237 root_windows.push_back(root_window_controller->GetWindow()); |
| 238 } | 238 } |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 mash_state_->accelerator_controller_registrar = | 459 mash_state_->accelerator_controller_registrar = |
| 460 base ::MakeUnique<AcceleratorControllerRegistrar>( | 460 base ::MakeUnique<AcceleratorControllerRegistrar>( |
| 461 window_manager_, accelerator_namespace_id); | 461 window_manager_, accelerator_namespace_id); |
| 462 return base::MakeUnique<AcceleratorController>( | 462 return base::MakeUnique<AcceleratorController>( |
| 463 mash_state_->accelerator_controller_delegate.get(), | 463 mash_state_->accelerator_controller_delegate.get(), |
| 464 mash_state_->accelerator_controller_registrar.get()); | 464 mash_state_->accelerator_controller_registrar.get()); |
| 465 } | 465 } |
| 466 | 466 |
| 467 } // namespace mus | 467 } // namespace mus |
| 468 } // namespace ash | 468 } // namespace ash |
| OLD | NEW |