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/session/session_state_delegate.h" | 10 #include "ash/common/session/session_state_delegate.h" |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 } | 245 } |
246 | 246 |
247 display::Display WmShellMus::GetFirstDisplay() const { | 247 display::Display WmShellMus::GetFirstDisplay() const { |
248 // TODO(mash): implement http://crbug.com/622480. | 248 // TODO(mash): implement http://crbug.com/622480. |
249 NOTIMPLEMENTED(); | 249 NOTIMPLEMENTED(); |
250 return display::Screen::GetScreen()->GetPrimaryDisplay(); | 250 return display::Screen::GetScreen()->GetPrimaryDisplay(); |
251 } | 251 } |
252 | 252 |
253 bool WmShellMus::IsInUnifiedMode() const { | 253 bool WmShellMus::IsInUnifiedMode() const { |
254 // TODO(mash): implement http://crbug.com/622480. | 254 // TODO(mash): implement http://crbug.com/622480. |
| 255 NOTIMPLEMENTED(); |
255 return false; | 256 return false; |
256 } | 257 } |
257 | 258 |
| 259 bool WmShellMus::IsInUnifiedModeIgnoreMirroring() const { |
| 260 // TODO(mash): implement http://crbug.com/622480. |
| 261 NOTIMPLEMENTED(); |
| 262 return false; |
| 263 } |
| 264 |
258 bool WmShellMus::IsForceMaximizeOnFirstRun() { | 265 bool WmShellMus::IsForceMaximizeOnFirstRun() { |
259 NOTIMPLEMENTED(); | 266 NOTIMPLEMENTED(); |
260 return false; | 267 return false; |
261 } | 268 } |
262 | 269 |
263 void WmShellMus::SetDisplayWorkAreaInsets(WmWindow* window, | 270 void WmShellMus::SetDisplayWorkAreaInsets(WmWindow* window, |
264 const gfx::Insets& insets) { | 271 const gfx::Insets& insets) { |
265 NOTIMPLEMENTED(); | 272 NOTIMPLEMENTED(); |
266 } | 273 } |
267 | 274 |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 OnWindowActivated(gained_active, lost_active)); | 441 OnWindowActivated(gained_active, lost_active)); |
435 } | 442 } |
436 | 443 |
437 void WmShellMus::OnDidDestroyClient(ui::WindowTreeClient* client) { | 444 void WmShellMus::OnDidDestroyClient(ui::WindowTreeClient* client) { |
438 DCHECK_EQ(window_tree_client(), client); | 445 DCHECK_EQ(window_tree_client(), client); |
439 client->RemoveObserver(this); | 446 client->RemoveObserver(this); |
440 } | 447 } |
441 | 448 |
442 } // namespace mus | 449 } // namespace mus |
443 } // namespace ash | 450 } // namespace ash |
OLD | NEW |