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/wm/immersive_context_ash.h" | 5 #include "ash/common/wm/immersive_context_ash.h" |
6 | 6 |
7 #include "ash/common/shelf/wm_shelf.h" | 7 #include "ash/common/shelf/wm_shelf.h" |
8 #include "ash/common/wm/window_state.h" | 8 #include "ash/common/wm/window_state.h" |
9 #include "ash/common/wm_lookup.h" | 9 #include "ash/common/wm_lookup.h" |
10 #include "ash/common/wm_root_window_controller.h" | 10 #include "ash/common/wm_root_window_controller.h" |
11 #include "ash/common/wm_shell.h" | 11 #include "ash/common/wm_shell.h" |
12 #include "ash/common/wm_window.h" | 12 #include "ash/common/wm_window.h" |
13 #include "ash/wm/immersive_fullscreen_controller.h" | 13 #include "ash/shared/immersive_fullscreen_controller.h" |
14 #include "base/logging.h" | 14 #include "base/logging.h" |
15 #include "ui/display/display.h" | 15 #include "ui/display/display.h" |
16 #include "ui/display/screen.h" | 16 #include "ui/display/screen.h" |
17 | 17 |
18 namespace ash { | 18 namespace ash { |
19 | 19 |
20 ImmersiveContextAsh::ImmersiveContextAsh() {} | 20 ImmersiveContextAsh::ImmersiveContextAsh() {} |
21 | 21 |
22 ImmersiveContextAsh::~ImmersiveContextAsh() {} | 22 ImmersiveContextAsh::~ImmersiveContextAsh() {} |
23 | 23 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 | 60 |
61 bool ImmersiveContextAsh::DoesAnyWindowHaveCapture() { | 61 bool ImmersiveContextAsh::DoesAnyWindowHaveCapture() { |
62 return WmShell::Get()->GetCaptureWindow() != nullptr; | 62 return WmShell::Get()->GetCaptureWindow() != nullptr; |
63 } | 63 } |
64 | 64 |
65 bool ImmersiveContextAsh::IsMouseEventsEnabled() { | 65 bool ImmersiveContextAsh::IsMouseEventsEnabled() { |
66 return WmShell::Get()->IsMouseEventsEnabled(); | 66 return WmShell::Get()->IsMouseEventsEnabled(); |
67 } | 67 } |
68 | 68 |
69 } // namespace ash | 69 } // namespace ash |
OLD | NEW |