| 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_transient_window_observer.h" | 10 #include "ash/common/wm_transient_window_observer.h" |
| (...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 710 } | 710 } |
| 711 | 711 |
| 712 void WmWindowMus::ShowResizeShadow(int component) { | 712 void WmWindowMus::ShowResizeShadow(int component) { |
| 713 NOTIMPLEMENTED(); | 713 NOTIMPLEMENTED(); |
| 714 } | 714 } |
| 715 | 715 |
| 716 void WmWindowMus::HideResizeShadow() { | 716 void WmWindowMus::HideResizeShadow() { |
| 717 NOTIMPLEMENTED(); | 717 NOTIMPLEMENTED(); |
| 718 } | 718 } |
| 719 | 719 |
| 720 void WmWindowMus::InstallResizeHandleWindowTargeter( |
| 721 WmImmersiveFullscreenController* immersive_fullscreen_controller) { |
| 722 // TODO(sky): I believe once WmImmersiveFullscreenController is ported this |
| 723 // won't be necessary in mash, but I need to verify that: |
| 724 // http://crbug.com/548435. |
| 725 } |
| 726 |
| 720 void WmWindowMus::SetBoundsInScreenBehaviorForChildren( | 727 void WmWindowMus::SetBoundsInScreenBehaviorForChildren( |
| 721 WmWindow::BoundsInScreenBehavior behavior) { | 728 WmWindow::BoundsInScreenBehavior behavior) { |
| 722 // TODO: SetBoundsInScreen isn't fully implemented yet, | 729 // TODO: SetBoundsInScreen isn't fully implemented yet, |
| 723 // http://crbug.com/615552. | 730 // http://crbug.com/615552. |
| 724 NOTIMPLEMENTED(); | 731 NOTIMPLEMENTED(); |
| 725 } | 732 } |
| 726 | 733 |
| 727 void WmWindowMus::SetSnapsChildrenToPhysicalPixelBoundary() { | 734 void WmWindowMus::SetSnapsChildrenToPhysicalPixelBoundary() { |
| 728 if (snap_children_to_pixel_boundary_) | 735 if (snap_children_to_pixel_boundary_) |
| 729 return; | 736 return; |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 857 } | 864 } |
| 858 | 865 |
| 859 void WmWindowMus::OnTransientChildRemoved(ui::Window* window, | 866 void WmWindowMus::OnTransientChildRemoved(ui::Window* window, |
| 860 ui::Window* transient) { | 867 ui::Window* transient) { |
| 861 FOR_EACH_OBSERVER(WmTransientWindowObserver, transient_observers_, | 868 FOR_EACH_OBSERVER(WmTransientWindowObserver, transient_observers_, |
| 862 OnTransientChildRemoved(this, Get(transient))); | 869 OnTransientChildRemoved(this, Get(transient))); |
| 863 } | 870 } |
| 864 | 871 |
| 865 } // namespace mus | 872 } // namespace mus |
| 866 } // namespace ash | 873 } // namespace ash |
| OLD | NEW |