| 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/root_window_controller.h" | 5 #include "ash/mus/root_window_controller.h" |
| 6 | 6 |
| 7 #include <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 #include "base/command_line.h" | 32 #include "base/command_line.h" |
| 33 #include "base/memory/ptr_util.h" | 33 #include "base/memory/ptr_util.h" |
| 34 #include "mojo/public/cpp/bindings/type_converter.h" | 34 #include "mojo/public/cpp/bindings/type_converter.h" |
| 35 #include "services/shell/public/cpp/connector.h" | 35 #include "services/shell/public/cpp/connector.h" |
| 36 #include "services/ui/common/switches.h" | 36 #include "services/ui/common/switches.h" |
| 37 #include "services/ui/common/util.h" | 37 #include "services/ui/common/util.h" |
| 38 #include "services/ui/public/cpp/property_type_converters.h" | 38 #include "services/ui/public/cpp/property_type_converters.h" |
| 39 #include "services/ui/public/cpp/window.h" | 39 #include "services/ui/public/cpp/window.h" |
| 40 #include "services/ui/public/cpp/window_property.h" | 40 #include "services/ui/public/cpp/window_property.h" |
| 41 #include "services/ui/public/cpp/window_tree_client.h" | 41 #include "services/ui/public/cpp/window_tree_client.h" |
| 42 #include "services/ui/public/cpp/window_tree_host_factory.h" | |
| 43 #include "ui/display/display_list.h" | 42 #include "ui/display/display_list.h" |
| 44 #include "ui/display/screen_base.h" | 43 #include "ui/display/screen_base.h" |
| 45 | 44 |
| 46 using ash::mojom::Container; | 45 using ash::mojom::Container; |
| 47 | 46 |
| 48 namespace ash { | 47 namespace ash { |
| 49 namespace mus { | 48 namespace mus { |
| 50 | 49 |
| 51 RootWindowController::RootWindowController(WindowManager* window_manager, | 50 RootWindowController::RootWindowController(WindowManager* window_manager, |
| 52 ui::Window* root, | 51 ui::Window* root, |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 GetWindowByShellWindowId(kShellWindowId_LockScreenContainer); | 184 GetWindowByShellWindowId(kShellWindowId_LockScreenContainer); |
| 186 layout_managers_[lock_screen_container->mus_window()].reset( | 185 layout_managers_[lock_screen_container->mus_window()].reset( |
| 187 new ScreenlockLayout(lock_screen_container->mus_window())); | 186 new ScreenlockLayout(lock_screen_container->mus_window())); |
| 188 | 187 |
| 189 // Creating the shelf also creates the status area and both layout managers. | 188 // Creating the shelf also creates the status area and both layout managers. |
| 190 wm_shelf_.reset(new WmShelfMus(wm_root_window_controller_->GetWindow())); | 189 wm_shelf_.reset(new WmShelfMus(wm_root_window_controller_->GetWindow())); |
| 191 } | 190 } |
| 192 | 191 |
| 193 } // namespace mus | 192 } // namespace mus |
| 194 } // namespace ash | 193 } // namespace ash |
| OLD | NEW |