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