| 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/aura/wm_root_window_controller_aura.h" | 5 #include "ash/wm/aura/wm_root_window_controller_aura.h" |
| 6 | 6 |
| 7 #include "ash/common/wm/wm_root_window_controller_observer.h" |
| 7 #include "ash/display/window_tree_host_manager.h" | 8 #include "ash/display/window_tree_host_manager.h" |
| 8 #include "ash/root_window_controller.h" | 9 #include "ash/root_window_controller.h" |
| 9 #include "ash/shelf/shelf.h" | 10 #include "ash/shelf/shelf.h" |
| 10 #include "ash/shelf/shelf_widget.h" | 11 #include "ash/shelf/shelf_widget.h" |
| 11 #include "ash/shell.h" | 12 #include "ash/shell.h" |
| 12 #include "ash/wm/aura/wm_globals_aura.h" | 13 #include "ash/wm/aura/wm_globals_aura.h" |
| 13 #include "ash/wm/aura/wm_shelf_aura.h" | 14 #include "ash/wm/aura/wm_shelf_aura.h" |
| 14 #include "ash/wm/aura/wm_window_aura.h" | 15 #include "ash/wm/aura/wm_window_aura.h" |
| 15 #include "ash/wm/common/wm_root_window_controller_observer.h" | |
| 16 #include "ash/wm/workspace_controller.h" | 16 #include "ash/wm/workspace_controller.h" |
| 17 #include "ui/aura/window.h" | 17 #include "ui/aura/window.h" |
| 18 #include "ui/aura/window_property.h" | 18 #include "ui/aura/window_property.h" |
| 19 #include "ui/events/event_targeter.h" | 19 #include "ui/events/event_targeter.h" |
| 20 #include "ui/events/event_utils.h" | 20 #include "ui/events/event_utils.h" |
| 21 | 21 |
| 22 DECLARE_WINDOW_PROPERTY_TYPE(ash::wm::WmRootWindowControllerAura*); | 22 DECLARE_WINDOW_PROPERTY_TYPE(ash::wm::WmRootWindowControllerAura*); |
| 23 | 23 |
| 24 namespace ash { | 24 namespace ash { |
| 25 namespace wm { | 25 namespace wm { |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 aura::Window* root_window) { | 139 aura::Window* root_window) { |
| 140 if (root_window != root_window_controller_->GetRootWindow()) | 140 if (root_window != root_window_controller_->GetRootWindow()) |
| 141 return; | 141 return; |
| 142 | 142 |
| 143 FOR_EACH_OBSERVER(WmRootWindowControllerObserver, observers_, | 143 FOR_EACH_OBSERVER(WmRootWindowControllerObserver, observers_, |
| 144 OnShelfAlignmentChanged()); | 144 OnShelfAlignmentChanged()); |
| 145 } | 145 } |
| 146 | 146 |
| 147 } // namespace wm | 147 } // namespace wm |
| 148 } // namespace ash | 148 } // namespace ash |
| OLD | NEW |