| 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/mus/bridge/wm_window_mus.h" | 5 #include "ash/mus/bridge/wm_window_mus.h" |
| 6 | 6 |
| 7 #include "ash/common/wm/container_finder.h" | 7 #include "ash/common/wm/container_finder.h" |
| 8 #include "ash/common/wm/window_state.h" | 8 #include "ash/common/wm/window_state.h" |
| 9 #include "ash/common/wm_layout_manager.h" | 9 #include "ash/common/wm_layout_manager.h" |
| 10 #include "ash/common/wm_window_observer.h" | 10 #include "ash/common/wm_window_observer.h" |
| 11 #include "ash/common/wm_window_property.h" | 11 #include "ash/common/wm_window_property.h" |
| 12 #include "ash/mus/bridge/mus_layout_manager_adapter.h" | 12 #include "ash/mus/bridge/mus_layout_manager_adapter.h" |
| 13 #include "ash/mus/bridge/wm_root_window_controller_mus.h" | 13 #include "ash/mus/bridge/wm_root_window_controller_mus.h" |
| 14 #include "ash/mus/bridge/wm_shell_mus.h" | 14 #include "ash/mus/bridge/wm_shell_mus.h" |
| 15 #include "ash/mus/property_util.h" | 15 #include "ash/mus/property_util.h" |
| 16 #include "components/mus/public/cpp/property_type_converters.h" | 16 #include "services/ui/public/cpp/property_type_converters.h" |
| 17 #include "components/mus/public/cpp/window.h" | 17 #include "services/ui/public/cpp/window.h" |
| 18 #include "components/mus/public/cpp/window_property.h" | 18 #include "services/ui/public/cpp/window_property.h" |
| 19 #include "components/mus/public/cpp/window_tree_client.h" | 19 #include "services/ui/public/cpp/window_tree_client.h" |
| 20 #include "components/mus/public/interfaces/window_manager.mojom.h" | 20 #include "services/ui/public/interfaces/window_manager.mojom.h" |
| 21 #include "ui/aura/mus/mus_util.h" | 21 #include "ui/aura/mus/mus_util.h" |
| 22 #include "ui/base/hit_test.h" | 22 #include "ui/base/hit_test.h" |
| 23 #include "ui/display/display.h" | 23 #include "ui/display/display.h" |
| 24 #include "ui/views/widget/widget.h" | 24 #include "ui/views/widget/widget.h" |
| 25 #include "ui/views/widget/widget_delegate.h" | 25 #include "ui/views/widget/widget_delegate.h" |
| 26 | 26 |
| 27 MUS_DECLARE_WINDOW_PROPERTY_TYPE(ash::mus::WmWindowMus*); | 27 MUS_DECLARE_WINDOW_PROPERTY_TYPE(ash::mus::WmWindowMus*); |
| 28 | 28 |
| 29 // TODO(sky): fully implement this. Making DVLOG as too spammy to be useful. | 29 // TODO(sky): fully implement this. Making DVLOG as too spammy to be useful. |
| 30 #undef NOTIMPLEMENTED | 30 #undef NOTIMPLEMENTED |
| (...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 774 void WmWindowMus::OnWindowDestroying(::mus::Window* window) { | 774 void WmWindowMus::OnWindowDestroying(::mus::Window* window) { |
| 775 FOR_EACH_OBSERVER(WmWindowObserver, observers_, OnWindowDestroying(this)); | 775 FOR_EACH_OBSERVER(WmWindowObserver, observers_, OnWindowDestroying(this)); |
| 776 } | 776 } |
| 777 | 777 |
| 778 void WmWindowMus::OnWindowDestroyed(::mus::Window* window) { | 778 void WmWindowMus::OnWindowDestroyed(::mus::Window* window) { |
| 779 FOR_EACH_OBSERVER(WmWindowObserver, observers_, OnWindowDestroyed(this)); | 779 FOR_EACH_OBSERVER(WmWindowObserver, observers_, OnWindowDestroyed(this)); |
| 780 } | 780 } |
| 781 | 781 |
| 782 } // namespace mus | 782 } // namespace mus |
| 783 } // namespace ash | 783 } // namespace ash |
| OLD | NEW |