| 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/keyboard/keyboard_ui.h" | 10 #include "ash/common/keyboard/keyboard_ui.h" |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 void WmShellMus::RecordUserMetricsAction(UserMetricsAction action) { | 311 void WmShellMus::RecordUserMetricsAction(UserMetricsAction action) { |
| 312 // TODO: http://crbug.com/616581. | 312 // TODO: http://crbug.com/616581. |
| 313 NOTIMPLEMENTED(); | 313 NOTIMPLEMENTED(); |
| 314 } | 314 } |
| 315 | 315 |
| 316 void WmShellMus::RecordTaskSwitchMetric(TaskSwitchSource source) { | 316 void WmShellMus::RecordTaskSwitchMetric(TaskSwitchSource source) { |
| 317 // TODO: http://crbug.com/616581. | 317 // TODO: http://crbug.com/616581. |
| 318 NOTIMPLEMENTED(); | 318 NOTIMPLEMENTED(); |
| 319 } | 319 } |
| 320 | 320 |
| 321 void WmShellMus::ShowContextMenu(const gfx::Point& location_in_screen, | |
| 322 ui::MenuSourceType source_type) { | |
| 323 // TODO: http://crbug.com/640693. | |
| 324 NOTIMPLEMENTED(); | |
| 325 } | |
| 326 | |
| 327 std::unique_ptr<WindowResizer> WmShellMus::CreateDragWindowResizer( | 321 std::unique_ptr<WindowResizer> WmShellMus::CreateDragWindowResizer( |
| 328 std::unique_ptr<WindowResizer> next_window_resizer, | 322 std::unique_ptr<WindowResizer> next_window_resizer, |
| 329 wm::WindowState* window_state) { | 323 wm::WindowState* window_state) { |
| 330 return base::MakeUnique<DragWindowResizer>(std::move(next_window_resizer), | 324 return base::MakeUnique<DragWindowResizer>(std::move(next_window_resizer), |
| 331 window_state); | 325 window_state); |
| 332 } | 326 } |
| 333 | 327 |
| 334 std::unique_ptr<WindowCycleEventFilter> | 328 std::unique_ptr<WindowCycleEventFilter> |
| 335 WmShellMus::CreateWindowCycleEventFilter() { | 329 WmShellMus::CreateWindowCycleEventFilter() { |
| 336 // TODO: implement me, http://crbug.com/629191. | 330 // TODO: implement me, http://crbug.com/629191. |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 OnWindowActivated(gained_active, lost_active)); | 435 OnWindowActivated(gained_active, lost_active)); |
| 442 } | 436 } |
| 443 | 437 |
| 444 void WmShellMus::OnDidDestroyClient(ui::WindowTreeClient* client) { | 438 void WmShellMus::OnDidDestroyClient(ui::WindowTreeClient* client) { |
| 445 DCHECK_EQ(window_tree_client(), client); | 439 DCHECK_EQ(window_tree_client(), client); |
| 446 client->RemoveObserver(this); | 440 client->RemoveObserver(this); |
| 447 } | 441 } |
| 448 | 442 |
| 449 } // namespace mus | 443 } // namespace mus |
| 450 } // namespace ash | 444 } // namespace ash |
| OLD | NEW |