| 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/common/accelerators/accelerator_controller.h" | 9 #include "ash/common/accelerators/accelerator_controller.h" |
| 10 #include "ash/common/key_event_watcher.h" | 10 #include "ash/common/key_event_watcher.h" |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 NOTIMPLEMENTED(); | 261 NOTIMPLEMENTED(); |
| 262 return false; | 262 return false; |
| 263 } | 263 } |
| 264 | 264 |
| 265 void WmShellMus::SetDisplayWorkAreaInsets(WmWindow* window, | 265 void WmShellMus::SetDisplayWorkAreaInsets(WmWindow* window, |
| 266 const gfx::Insets& insets) { | 266 const gfx::Insets& insets) { |
| 267 window_manager_->screen()->SetWorkAreaInsets(window->aura_window(), insets); | 267 window_manager_->screen()->SetWorkAreaInsets(window->aura_window(), insets); |
| 268 } | 268 } |
| 269 | 269 |
| 270 bool WmShellMus::IsPinned() { | 270 bool WmShellMus::IsPinned() { |
| 271 // TODO: http://crbug.com/622486. |
| 271 NOTIMPLEMENTED(); | 272 NOTIMPLEMENTED(); |
| 272 return false; | 273 return false; |
| 273 } | 274 } |
| 274 | 275 |
| 275 void WmShellMus::SetPinnedWindow(WmWindow* window) { | 276 void WmShellMus::SetPinnedWindow(WmWindow* window) { |
| 277 // TODO: http://crbug.com/622486. |
| 276 NOTIMPLEMENTED(); | 278 NOTIMPLEMENTED(); |
| 277 } | 279 } |
| 278 | 280 |
| 279 void WmShellMus::LockCursor() { | 281 void WmShellMus::LockCursor() { |
| 280 // TODO: http::/crbug.com/637853 | 282 // TODO: http::/crbug.com/637853 |
| 281 NOTIMPLEMENTED(); | 283 NOTIMPLEMENTED(); |
| 282 } | 284 } |
| 283 | 285 |
| 284 void WmShellMus::UnlockCursor() { | 286 void WmShellMus::UnlockCursor() { |
| 285 // TODO: http::/crbug.com/637853 | 287 // TODO: http::/crbug.com/637853 |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 } | 422 } |
| 421 | 423 |
| 422 void WmShellMus::CreatePrimaryHost() {} | 424 void WmShellMus::CreatePrimaryHost() {} |
| 423 | 425 |
| 424 void WmShellMus::InitHosts(const ShellInitParams& init_params) { | 426 void WmShellMus::InitHosts(const ShellInitParams& init_params) { |
| 425 window_manager_->CreatePrimaryRootWindowController( | 427 window_manager_->CreatePrimaryRootWindowController( |
| 426 base::WrapUnique(init_params.primary_window_tree_host)); | 428 base::WrapUnique(init_params.primary_window_tree_host)); |
| 427 } | 429 } |
| 428 } // namespace mus | 430 } // namespace mus |
| 429 } // namespace ash | 431 } // namespace ash |
| OLD | NEW |