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 "ash/mus/window_manager.h" | 5 #include "ash/mus/window_manager.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... |
26 #include "ash/mus/top_level_window_factory.h" | 26 #include "ash/mus/top_level_window_factory.h" |
27 #include "ash/mus/window_properties.h" | 27 #include "ash/mus/window_properties.h" |
28 #include "ash/public/cpp/shell_window_ids.h" | 28 #include "ash/public/cpp/shell_window_ids.h" |
29 #include "ash/public/cpp/window_properties.h" | 29 #include "ash/public/cpp/window_properties.h" |
30 #include "ash/root_window_controller.h" | 30 #include "ash/root_window_controller.h" |
31 #include "ash/root_window_settings.h" | 31 #include "ash/root_window_settings.h" |
32 #include "ash/shell.h" | 32 #include "ash/shell.h" |
33 #include "ash/shell_init_params.h" | 33 #include "ash/shell_init_params.h" |
34 #include "ash/wm/ash_focus_rules.h" | 34 #include "ash/wm/ash_focus_rules.h" |
35 #include "base/memory/ptr_util.h" | 35 #include "base/memory/ptr_util.h" |
36 #include "base/threading/sequenced_worker_pool.h" | |
37 #include "services/service_manager/public/cpp/connector.h" | 36 #include "services/service_manager/public/cpp/connector.h" |
38 #include "services/ui/common/accelerator_util.h" | 37 #include "services/ui/common/accelerator_util.h" |
39 #include "services/ui/common/types.h" | 38 #include "services/ui/common/types.h" |
40 #include "services/ui/public/cpp/property_type_converters.h" | 39 #include "services/ui/public/cpp/property_type_converters.h" |
41 #include "services/ui/public/interfaces/constants.mojom.h" | 40 #include "services/ui/public/interfaces/constants.mojom.h" |
42 #include "services/ui/public/interfaces/window_manager.mojom.h" | 41 #include "services/ui/public/interfaces/window_manager.mojom.h" |
43 #include "ui/aura/client/window_parenting_client.h" | 42 #include "ui/aura/client/window_parenting_client.h" |
44 #include "ui/aura/env.h" | 43 #include "ui/aura/env.h" |
45 #include "ui/aura/mus/capture_synchronizer.h" | 44 #include "ui/aura/mus/capture_synchronizer.h" |
46 #include "ui/aura/mus/property_converter.h" | 45 #include "ui/aura/mus/property_converter.h" |
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
465 bool WindowManager::IsWindowActive(aura::Window* window) { | 464 bool WindowManager::IsWindowActive(aura::Window* window) { |
466 return Shell::GetInstance()->activation_client()->GetActiveWindow() == window; | 465 return Shell::GetInstance()->activation_client()->GetActiveWindow() == window; |
467 } | 466 } |
468 | 467 |
469 void WindowManager::OnWmDeactivateWindow(aura::Window* window) { | 468 void WindowManager::OnWmDeactivateWindow(aura::Window* window) { |
470 Shell::GetInstance()->activation_client()->DeactivateWindow(window); | 469 Shell::GetInstance()->activation_client()->DeactivateWindow(window); |
471 } | 470 } |
472 | 471 |
473 } // namespace mus | 472 } // namespace mus |
474 } // namespace ash | 473 } // namespace ash |
OLD | NEW |