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/aura/wm_root_window_controller_aura.h" | 5 #include "ash/aura/wm_root_window_controller_aura.h" |
6 | 6 |
7 #include "ash/aura/wm_shelf_aura.h" | 7 #include "ash/aura/wm_shelf_aura.h" |
8 #include "ash/aura/wm_shell_aura.h" | 8 #include "ash/aura/wm_shell_aura.h" |
9 #include "ash/aura/wm_window_aura.h" | 9 #include "ash/aura/wm_window_aura.h" |
10 #include "ash/common/shelf/shelf.h" | 10 #include "ash/common/shelf/shelf.h" |
11 #include "ash/common/shelf/shelf_widget.h" | 11 #include "ash/common/shelf/shelf_widget.h" |
12 #include "ash/common/wm/workspace/workspace_layout_manager_backdrop_delegate.h" | 12 #include "ash/common/wm/workspace/workspace_layout_manager_backdrop_delegate.h" |
| 13 #include "ash/common/wm/workspace_controller.h" |
13 #include "ash/common/wm_root_window_controller_observer.h" | 14 #include "ash/common/wm_root_window_controller_observer.h" |
14 #include "ash/display/window_tree_host_manager.h" | 15 #include "ash/display/window_tree_host_manager.h" |
15 #include "ash/root_window_controller.h" | 16 #include "ash/root_window_controller.h" |
16 #include "ash/shell.h" | 17 #include "ash/shell.h" |
17 #include "ash/wm/workspace_controller.h" | |
18 #include "ui/aura/window.h" | 18 #include "ui/aura/window.h" |
19 #include "ui/aura/window_event_dispatcher.h" | 19 #include "ui/aura/window_event_dispatcher.h" |
20 #include "ui/aura/window_property.h" | 20 #include "ui/aura/window_property.h" |
21 #include "ui/aura/window_tree_host.h" | 21 #include "ui/aura/window_tree_host.h" |
22 #include "ui/display/screen.h" | 22 #include "ui/display/screen.h" |
23 #include "ui/events/event_targeter.h" | 23 #include "ui/events/event_targeter.h" |
24 #include "ui/events/event_utils.h" | 24 #include "ui/events/event_utils.h" |
25 | 25 |
26 DECLARE_WINDOW_PROPERTY_TYPE(ash::WmRootWindowControllerAura*); | 26 DECLARE_WINDOW_PROPERTY_TYPE(ash::WmRootWindowControllerAura*); |
27 | 27 |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 const display::Display& display) {} | 154 const display::Display& display) {} |
155 | 155 |
156 void WmRootWindowControllerAura::OnDisplayMetricsChanged( | 156 void WmRootWindowControllerAura::OnDisplayMetricsChanged( |
157 const display::Display& display, | 157 const display::Display& display, |
158 uint32_t metrics) { | 158 uint32_t metrics) { |
159 FOR_EACH_OBSERVER(WmRootWindowControllerObserver, observers_, | 159 FOR_EACH_OBSERVER(WmRootWindowControllerObserver, observers_, |
160 OnWorkAreaChanged()); | 160 OnWorkAreaChanged()); |
161 } | 161 } |
162 | 162 |
163 } // namespace ash | 163 } // namespace ash |
OLD | NEW |