| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "mash/wm/window_manager_application.h" | 5 #include "mash/wm/window_manager_application.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
| 11 #include "components/mus/public/cpp/event_matcher.h" | 11 #include "components/mus/public/cpp/event_matcher_util.h" |
| 12 #include "components/mus/public/cpp/window.h" | 12 #include "components/mus/public/cpp/window.h" |
| 13 #include "components/mus/public/interfaces/window_manager_factory.mojom.h" | 13 #include "components/mus/public/interfaces/window_manager_factory.mojom.h" |
| 14 #include "mash/wm/accelerator_registrar_impl.h" | 14 #include "mash/wm/accelerator_registrar_impl.h" |
| 15 #include "mash/wm/root_window_controller.h" | 15 #include "mash/wm/root_window_controller.h" |
| 16 #include "mash/wm/root_windows_observer.h" | 16 #include "mash/wm/root_windows_observer.h" |
| 17 #include "mash/wm/shelf_layout.h" | 17 #include "mash/wm/shelf_layout.h" |
| 18 #include "mash/wm/user_window_controller_impl.h" | 18 #include "mash/wm/user_window_controller_impl.h" |
| 19 #include "mojo/converters/input_events/input_events_type_converters.h" | 19 #include "mojo/converters/input_events/input_events_type_converters.h" |
| 20 #include "services/shell/public/cpp/connection.h" | 20 #include "services/shell/public/cpp/connection.h" |
| 21 #include "services/shell/public/cpp/connector.h" | 21 #include "services/shell/public/cpp/connector.h" |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 | 183 |
| 184 void WindowManagerApplication::CreateWindowManager( | 184 void WindowManagerApplication::CreateWindowManager( |
| 185 mus::mojom::DisplayPtr display, | 185 mus::mojom::DisplayPtr display, |
| 186 mojo::InterfaceRequest<mus::mojom::WindowTreeClient> client_request) { | 186 mojo::InterfaceRequest<mus::mojom::WindowTreeClient> client_request) { |
| 187 root_controllers_.insert(RootWindowController::CreateFromDisplay( | 187 root_controllers_.insert(RootWindowController::CreateFromDisplay( |
| 188 this, std::move(display), std::move(client_request))); | 188 this, std::move(display), std::move(client_request))); |
| 189 } | 189 } |
| 190 | 190 |
| 191 } // namespace wm | 191 } // namespace wm |
| 192 } // namespace mash | 192 } // namespace mash |
| OLD | NEW |