| 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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 NOTIMPLEMENTED(); | 250 NOTIMPLEMENTED(); |
| 251 return false; | 251 return false; |
| 252 } | 252 } |
| 253 | 253 |
| 254 bool WmShellMus::IsInUnifiedModeIgnoreMirroring() const { | 254 bool WmShellMus::IsInUnifiedModeIgnoreMirroring() const { |
| 255 // TODO(mash): implement http://crbug.com/622480. | 255 // TODO(mash): implement http://crbug.com/622480. |
| 256 NOTIMPLEMENTED(); | 256 NOTIMPLEMENTED(); |
| 257 return false; | 257 return false; |
| 258 } | 258 } |
| 259 | 259 |
| 260 bool WmShellMus::IsForceMaximizeOnFirstRun() { | |
| 261 NOTIMPLEMENTED(); | |
| 262 return false; | |
| 263 } | |
| 264 | |
| 265 void WmShellMus::SetDisplayWorkAreaInsets(WmWindow* window, | 260 void WmShellMus::SetDisplayWorkAreaInsets(WmWindow* window, |
| 266 const gfx::Insets& insets) { | 261 const gfx::Insets& insets) { |
| 267 window_manager_->screen()->SetWorkAreaInsets(window->aura_window(), insets); | 262 window_manager_->screen()->SetWorkAreaInsets(window->aura_window(), insets); |
| 268 } | 263 } |
| 269 | 264 |
| 270 bool WmShellMus::IsPinned() { | 265 bool WmShellMus::IsPinned() { |
| 271 // TODO: http://crbug.com/622486. | 266 // TODO: http://crbug.com/622486. |
| 272 NOTIMPLEMENTED(); | 267 NOTIMPLEMENTED(); |
| 273 return false; | 268 return false; |
| 274 } | 269 } |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 } | 417 } |
| 423 | 418 |
| 424 void WmShellMus::CreatePrimaryHost() {} | 419 void WmShellMus::CreatePrimaryHost() {} |
| 425 | 420 |
| 426 void WmShellMus::InitHosts(const ShellInitParams& init_params) { | 421 void WmShellMus::InitHosts(const ShellInitParams& init_params) { |
| 427 window_manager_->CreatePrimaryRootWindowController( | 422 window_manager_->CreatePrimaryRootWindowController( |
| 428 base::WrapUnique(init_params.primary_window_tree_host)); | 423 base::WrapUnique(init_params.primary_window_tree_host)); |
| 429 } | 424 } |
| 430 } // namespace mus | 425 } // namespace mus |
| 431 } // namespace ash | 426 } // namespace ash |
| OLD | NEW |