| 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_window_aura.h" | 5 #include "ash/aura/wm_window_aura.h" |
| 6 | 6 |
| 7 #include "ash/aura/aura_layout_manager_adapter.h" | 7 #include "ash/aura/aura_layout_manager_adapter.h" |
| 8 #include "ash/aura/wm_root_window_controller_aura.h" | 8 #include "ash/aura/wm_root_window_controller_aura.h" |
| 9 #include "ash/aura/wm_shell_aura.h" | 9 #include "ash/aura/wm_shell_aura.h" |
| 10 #include "ash/common/ash_constants.h" | 10 #include "ash/common/ash_constants.h" |
| (...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 711 void WmWindowAura::OnWindowDestroyed(aura::Window* window) { | 711 void WmWindowAura::OnWindowDestroyed(aura::Window* window) { |
| 712 FOR_EACH_OBSERVER(WmWindowObserver, observers_, OnWindowDestroyed(this)); | 712 FOR_EACH_OBSERVER(WmWindowObserver, observers_, OnWindowDestroyed(this)); |
| 713 } | 713 } |
| 714 | 714 |
| 715 void WmWindowAura::OnWindowVisibilityChanging(aura::Window* window, | 715 void WmWindowAura::OnWindowVisibilityChanging(aura::Window* window, |
| 716 bool visible) { | 716 bool visible) { |
| 717 FOR_EACH_OBSERVER(WmWindowObserver, observers_, | 717 FOR_EACH_OBSERVER(WmWindowObserver, observers_, |
| 718 OnWindowVisibilityChanging(this, visible)); | 718 OnWindowVisibilityChanging(this, visible)); |
| 719 } | 719 } |
| 720 | 720 |
| 721 void WmWindowAura::OnWindowVisibilityChanged(aura::Window* window, |
| 722 bool visible) { |
| 723 FOR_EACH_OBSERVER(WmWindowObserver, observers_, |
| 724 OnWindowVisibilityChanged(this, visible)); |
| 725 } |
| 726 |
| 721 void WmWindowAura::OnWindowTitleChanged(aura::Window* window) { | 727 void WmWindowAura::OnWindowTitleChanged(aura::Window* window) { |
| 722 FOR_EACH_OBSERVER(WmWindowObserver, observers_, OnWindowTitleChanged(this)); | 728 FOR_EACH_OBSERVER(WmWindowObserver, observers_, OnWindowTitleChanged(this)); |
| 723 } | 729 } |
| 724 | 730 |
| 725 } // namespace ash | 731 } // namespace ash |
| OLD | NEW |