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_application.h" | 5 #include "ash/mus/window_manager_application.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "ash/common/material_design/material_design_controller.h" | 9 #include "ash/common/material_design/material_design_controller.h" |
10 #include "ash/mus/accelerators/accelerator_registrar_impl.h" | 10 #include "ash/mus/accelerators/accelerator_registrar_impl.h" |
11 #include "ash/mus/window_manager.h" | 11 #include "ash/mus/window_manager.h" |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/memory/ptr_util.h" | 13 #include "base/memory/ptr_util.h" |
14 #include "services/shell/public/cpp/connection.h" | 14 #include "services/shell/public/cpp/connection.h" |
15 #include "services/shell/public/cpp/connector.h" | 15 #include "services/shell/public/cpp/connector.h" |
16 #include "services/tracing/public/cpp/provider.h" | 16 #include "services/tracing/public/cpp/provider.h" |
17 #include "services/ui/common/event_matcher_util.h" | 17 #include "services/ui/common/event_matcher_util.h" |
18 #include "services/ui/common/gpu_service.h" | 18 #include "services/ui/public/cpp/gpu_service.h" |
19 #include "services/ui/public/cpp/window.h" | 19 #include "services/ui/public/cpp/window.h" |
20 #include "services/ui/public/cpp/window_tree_client.h" | 20 #include "services/ui/public/cpp/window_tree_client.h" |
21 #include "ui/aura/env.h" | 21 #include "ui/aura/env.h" |
22 #include "ui/events/event.h" | 22 #include "ui/events/event.h" |
23 #include "ui/message_center/message_center.h" | 23 #include "ui/message_center/message_center.h" |
24 #include "ui/views/mus/aura_init.h" | 24 #include "ui/views/mus/aura_init.h" |
25 #include "ui/views/mus/surface_context_factory.h" | 25 #include "ui/views/mus/surface_context_factory.h" |
26 | 26 |
27 #if defined(OS_CHROMEOS) | 27 #if defined(OS_CHROMEOS) |
28 #include "ash/common/system/chromeos/power/power_status.h" | 28 #include "ash/common/system/chromeos/power/power_status.h" |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 base::Bind(&WindowManagerApplication::OnAcceleratorRegistrarDestroyed, | 142 base::Bind(&WindowManagerApplication::OnAcceleratorRegistrarDestroyed, |
143 base::Unretained(this)))); | 143 base::Unretained(this)))); |
144 } | 144 } |
145 | 145 |
146 void WindowManagerApplication::ScreenlockStateChanged(bool locked) { | 146 void WindowManagerApplication::ScreenlockStateChanged(bool locked) { |
147 window_manager_->SetScreenLocked(locked); | 147 window_manager_->SetScreenLocked(locked); |
148 } | 148 } |
149 | 149 |
150 } // namespace mus | 150 } // namespace mus |
151 } // namespace ash | 151 } // namespace ash |
OLD | NEW |